Remove the debug code.

This commit is contained in:
Mark Crane
2013-08-26 19:45:30 +00:00
parent 21fcd4b606
commit fcbeaaa8b4

View File

@@ -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;
} }
} }