In the index.php you can find
if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE)
{
$system_folder = str_replace("\\", "/", realpath(dirname(__FILE__))).'/'.$system_folder;
}why not use
$system_folder = str_replace('\', '/',pathinfo(__FILE__,PATHINFO_DIRNAME)).'/'.$system_folder;Is the pathinfo less trustworthy than realpath?