Set $fileAtts to nothing as a fallback

Strict PHP modes will complain this isn't set otherwise
This commit is contained in:
Matt Pass
2013-03-01 16:21:28 +00:00
parent 8c7fbcd7d4
commit 1fe5e6ad8e

View File

@@ -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>';