aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-10-24 10:40:17 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-10-24 10:40:17 +0000
commitbb6857ddb490f2ad02e18130e4a0f794dfd8a2a2 (patch)
tree7c7c6689d0d0b252d59b631a9fb62386d0f5c7d3
parentc57b4712000549672066943dbe6c38326d7f1684 (diff)
downloadboca-bb6857ddb490f2ad02e18130e4a0f794dfd8a2a2.tar.gz
boca-bb6857ddb490f2ad02e18130e4a0f794dfd8a2a2.zip
bf
-rwxr-xr-xsrc/globals.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.php b/src/globals.php
index 5f66881..7d8586d 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -126,7 +126,7 @@ function revertupdatebocafile($dirboca, $t) {
} else {
if(is_file($dirboca) && substr($dirboca, 0, strlen('old.' . $t . '.')) == 'old.' . $t . '.') {
@chmod($dirboca, 0600);
- if(@copy($dirboca, substr($dirboca, strlen('old.' . $t . '.' .))) === true) $ok=1;
+ if(@copy($dirboca, substr($dirboca, strlen('old.' . $t . '.'))) === true) $ok=1;
@chmod($dirboca, 0000);
}
}