diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-10-24 09:14:48 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-10-24 09:14:48 +0000 |
| commit | 9bca54deae072b4ff157b052352982ce0a700df6 (patch) | |
| tree | 44993d371f8873c5e59d6911bd8ad545cbd2468e /src/globals.php | |
| parent | aea57cb508ccd1f7b543922eb3222f737c73e5ad (diff) | |
| download | boca-9bca54deae072b4ff157b052352982ce0a700df6.tar.gz boca-9bca54deae072b4ff157b052352982ce0a700df6.zip | |
bf
Diffstat (limited to 'src/globals.php')
| -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 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)) { |