From 9bca54deae072b4ff157b052352982ce0a700df6 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Tue, 24 Oct 2017 10:14:48 +0100 Subject: bf --- src/globals.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3