File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- <?php
1+ <?php
2+ error_reporting (E_ALL ^ E_NOTICE ^ E_WARNING );
23 class Copy {
34
45 function recursive_copy ($ src , $ dst ) {
@@ -50,8 +51,8 @@ function recursive_copy($src, $dst) {
5051
5152 $ fix_dst = isset ($ json ['default_copy_path ' ]) ? $ current_path . $ json ['default_copy_path ' ] . '/ ' : $ current_path ;
5253
53- require_once $ current_path . $ json ['default_path ' ] . '/admin/config.php ' ;
54- require_once $ current_path . $ json ['default_path ' ] . '/config.php ' ;
54+ include_once $ current_path . $ json ['default_path ' ] . '/admin/config.php ' ;
55+ include_once $ current_path . $ json ['default_path ' ] . '/config.php ' ;
5556
5657 foreach ($ json ['all_files ' ] as $ key => $ folder ) {
5758 $ copy ->recursive_copy ($ current_path . $ json ['default_path ' ] . '/ ' . $ folder , $ fix_dst . $ folder );
You can’t perform that action at this time.
0 commit comments