rename is now verbose. Hope it helps debugging #1532
This commit is contained in:
parent
0d0e79c00d
commit
52c75e16d6
|
@ -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]");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue