//error_reporting(E_ALL ^ E_NOTICE); //ini_set('display_errors','On'); include "inc/config.php"; $rqData = clearQuotes($_REQUEST); $urlValues = explodeUrl($rqData['url']); require (FULL_PATH.'general.php'); //dump($_SESSION); //echo '
'; print_r($urlValues); exit();
if (count($urlValues) > 1 and file_exists("modules/".$urlValues[0].".php")) {
include "modules/".$urlValues[0].".php";
}
else {
include "modules/home.php";
}
$smarty->assign("include_tpl", $include_tpl);
$smarty->register_outputfilter("rewrite_url");
$smarty->display("index.html");
?>