mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Remove the debug code.
This commit is contained in:
@@ -65,20 +65,17 @@ include "root.php";
|
|||||||
if ($exception) {
|
if ($exception) {
|
||||||
//file does not exist, save a copy in the destination directory
|
//file does not exist, save a copy in the destination directory
|
||||||
if (!file_exists($dst.'/'.$file)) {
|
if (!file_exists($dst.'/'.$file)) {
|
||||||
echo "68: ". $dst.'/'.$file."<br />\n";
|
|
||||||
copy($src.'/'.$file, $dst.'/'.$file);
|
copy($src.'/'.$file, $dst.'/'.$file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//write over the file
|
//write over the file
|
||||||
echo "74: ". $dst.'/'.$file."<br />\n";
|
|
||||||
copy($src.'/'.$file, $dst.'/'.$file);
|
copy($src.'/'.$file, $dst.'/'.$file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//file does not exist, save a copy in the destination directory
|
//file does not exist, save a copy in the destination directory
|
||||||
if (!file_exists($dst.'/'.$file)) {
|
if (!file_exists($dst.'/'.$file)) {
|
||||||
echo "81: ". $dst.'/'.$file."<br />\n";
|
|
||||||
copy($src.'/'.$file, $dst.'/'.$file);
|
copy($src.'/'.$file, $dst.'/'.$file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -142,7 +139,6 @@ include "root.php";
|
|||||||
if (is_readable($this->switch_scripts_dir)) {
|
if (is_readable($this->switch_scripts_dir)) {
|
||||||
$this->recursive_copy($src_dir, $dst_dir);
|
$this->recursive_copy($src_dir, $dst_dir);
|
||||||
unset($src_dir, $dst_dir);
|
unset($src_dir, $dst_dir);
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user