rename is now verbose. Hope it helps debugging #1532

This commit is contained in:
Fran��ois Serman 2013-10-17 09:37:22 +00:00
parent 0d0e79c00d
commit 52c75e16d6
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ class m_bro {
for ($i=0;$i<count($d);$i++) {
$d[$i]=ssla($d[$i]); // strip slashes if needed
if (!strpos($d[$i],"/") && file_exists($old."/".$d[$i]) && !file_exists($new."/".$d[$i])) {
if (!@rename($old."/".$d[$i],$new."/".$d[$i]))
if (!rename($old."/".$d[$i],$new."/".$d[$i]))
$err->raise("bro", "error renaming $old/$d[$i] -> $new/$d[$i]");
}
}