template_dir = './templates'; Core::$template -> compile_dir = './templates_compiled'; Core::clearGlobalFromQuotes(); Core::parseArrayFromPostAndGet(); if( $_GET['page']=="" ) $controllerExecuted = Core::executeController("Home"); else $controllerExecuted = Core::executeController($_GET['page']); if(!$controllerExecuted){ Core::executeController('Error404'); } Core::disconnectFromDb(); ?>