..to create a 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..
THC Sscan is a very versatile tool for scanning (html) files
<?php
/* Functions that checks whether a file is there or not
Will add the error to the context array in case of a failure.
PARAMETERS:
$sFile: path to the local file
RETURNS:
TRUE: the file exists
FALSE: the file doesn't exist
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 12-11-2014
*/
function IsThere($sFile){
global $_CONTEXT;
if(!file_exists($sFile)){
// define the error
$_CONTEXT['errors'][] = "File <b>".$sFile."</b> doesn't exist";
// files that aren't there should always be fatal
$_CONTEXT['fatal'] = true;
return(false);
}
return(true);
}
?>