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 851b135..eee3b72 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -45,7 +45,7 @@ function dirrec($dir, $func, $dirPermissions, $filePermissions, $avoid=array())
if($ds=="") $ds = "/";
$dp = opendir($dir);
while($file = readdir($dp)) {
- if (($file == ".") || ($file == "..") || $file in_array($avoid))
+ if (($file == ".") || ($file == "..") || in_array($file,$avoid))
continue;
$fullPath = $dir . $ds . $file;
if(is_dir($fullPath)) {