..different index page for the suite. It's very easy because the only thing you need to do is change the content of default.php. I don't want to create something like hello world or..
xAnalyze is a module that can search through corrupt data and configuration files in order to find the exact position of errors
<?php
/* Returns all filenames and directories in a directory
Opens a directory and buffers all files in a string.
PARAMETERS:
$sDir: directory to get files from
$bEditable: make development targets
RETURNS:
STRING: filenames in the target directory
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 12-11-2014
*/
function RecurseDir($sPath,$bEditable=false){
$sContent = "";
$rOpen = @opendir($sPath);
while(false!==($sFile = @readdir($rOpen))){
if($sFile!="." && $sFile!=".."){
$sDest = $sPath."/".$sFile;
if($bEditable){
if(is_dir($sDest)){
$sContent .= "<b><a href=\"#\" title=\"".$sDest."\" id=\"dir\">".$sFile."</a></b><br />\n";
$sContent .= "<blockquote>".RecurseDir($sDest,true)."</blockquote>";
}
else{
$sContent .= "<a href=\"#\" title=\"".$sDest."\" id=\"file\">".$sFile."</a><br />\n";
}
}
else{
if(is_dir($sDest)){
$sContent .= "<b>".$sFile."</b><br />\n";
$sContent .= "<blockquote>".RecurseDir($sDest)."</blockquote>";
}
else{
$sContent .= $sFile."<br />\n";
}
}
}
}
@closedir($rOpen);
return($sContent);
}
?>