mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-07 17:16:47 +01:00
Don't include $iceRoot in comparison
This commit is contained in:
@@ -126,7 +126,7 @@ foreach($finalArray as $entry) {
|
||||
for ($i=0;$i<count($_SESSION['bannedFiles']);$i++) {
|
||||
if($_SESSION['bannedFiles'][$i] != "" && strpos($entry,$_SESSION['bannedFiles'][$i])!==false) {$canAdd = false;}
|
||||
}
|
||||
if ($docRoot.$iceRoot.$location."/".$entry == $docRoot.$iceRoot.$ICEcoderDir) {
|
||||
if ($docRoot.$iceRoot.$location."/".$entry == $docRoot.$ICEcoderDir) {
|
||||
$canAdd = false;
|
||||
}
|
||||
if ($entry != "." && $entry != ".." && $canAdd) {
|
||||
|
||||
Reference in New Issue
Block a user