diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-10-24 10:27:57 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-10-24 10:27:57 +0000 |
| commit | 813085e1dabfd15e455928a0893e7cfb8fbe8005 (patch) | |
| tree | bfac90cfbef8b7cf713cff6bd6e24327b6921f43 | |
| parent | 2af9e4d517347fda50a84487c1bccdd17a1762a3 (diff) | |
| download | boca-813085e1dabfd15e455928a0893e7cfb8fbe8005.tar.gz boca-813085e1dabfd15e455928a0893e7cfb8fbe8005.zip | |
bf
| -rwxr-xr-x | src/globals.php | 2 |
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; } |