mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-06 16:46:48 +01:00
Set $fileAtts to nothing as a fallback
Strict PHP modes will complain this isn't set otherwise
This commit is contained in:
@@ -55,6 +55,7 @@ for ($i=0;$i<count($finalArray);$i++) {
|
||||
echo "</ul>\n";
|
||||
}
|
||||
}
|
||||
$fileAtts = "";
|
||||
if ($serverType=="Linux") {
|
||||
$chmodInfo = substr(sprintf('%o', fileperms($docRoot.$iceRoot.$fileFolderName)), -3);
|
||||
$fileAtts = '<span style="color: #888; font-size: 8px" id="'.str_replace($docRoot,"",str_replace("/","|",$fileFolderName)).'_perms">'.$chmodInfo.'</span>';
|
||||
|
||||
Reference in New Issue
Block a user