We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fc39a6 commit 3cdb7e9Copy full SHA for 3cdb7e9
1 file changed
ces_module_backup.php
@@ -1,4 +1,5 @@
1
-<?php
+<?php
2
+ error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
3
class Copy {
4
5
function recursive_copy($src, $dst) {
@@ -50,8 +51,8 @@ function recursive_copy($src, $dst) {
50
51
52
$fix_dst = isset($json['default_copy_path']) ? $current_path . $json['default_copy_path'] . '/' : $current_path;
53
- require_once $current_path . $json['default_path'] . '/admin/config.php';
54
- require_once $current_path . $json['default_path'] . '/config.php';
+ include_once $current_path . $json['default_path'] . '/admin/config.php';
55
+ include_once $current_path . $json['default_path'] . '/config.php';
56
57
foreach ($json['all_files'] as $key => $folder) {
58
$copy->recursive_copy($current_path . $json['default_path'] . '/' . $folder, $fix_dst . $folder);
0 commit comments