aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/globals.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.php b/src/globals.php
index bc18249..fbbdff2 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -101,7 +101,7 @@ function updatebocafile($dirboca, $dirz, $t) {
file_put_contents($dirboca . '.' . $t . '.old', "");
}
@chmod($dirboca . '.' . $t . '.old', 0000);
- if(rename($dirz, $dirboca) === false) $ok=1;
+ if(rename($dirz, $dirboca) === true) $ok=1;
}
return $ok;
}