testing rm on a extra copy

This commit is contained in:
Richard Neese
2014-05-09 02:41:13 +00:00
parent 93610d25c1
commit 2c1bc52161
+10 -10
View File
@@ -199,16 +199,16 @@ include "root.php";
} }
} }
function copy_phrases() { #function copy_phrases() {
clearstatcache(); # clearstatcache();
if (file_exists($this->switch_conf_dir."/lang")) { # if (file_exists($this->switch_conf_dir."/lang")) {
$src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf/lang"; # $src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/templates/conf/lang";
$dst_dir = $this->switch_conf_dir."/lang"; # $dst_dir = $this->switch_conf_dir."/lang";
if (is_readable($this->switch_conf_dir)) { # if (is_readable($this->switch_conf_dir)) {
$this->recursive_copy($src_dir, $dst_dir); #
} # }
} # }
} #}
} }