execute()) { vB5_Frontend_ExplainQueries::finish(); exit(); } } $app = vB5_Frontend_Application::init('config.php'); $config = vB5_Config::instance(); if (!$config->report_all_php_errors) { // Note that E_STRICT became part of E_ALL in PHP 5.4 error_reporting(error_reporting() & ~(E_NOTICE | E_STRICT)); } $routing = $app->getRouter(); $method = $routing->getAction(); //$template = $routing->getTemplate(); $class = $routing->getControllerClass(); if (!class_exists($class)) { // @todo - this needs a proper error message die("Couldn't find controller file for $class"); } vB5_Frontend_ExplainQueries::initialize(); //$c = new $class($template); $c = new $class(); call_user_func_array(array(&$c, $method), array_values($routing->getArguments())); vB5_Frontend_ExplainQueries::finish(); /*=========================================================================*\ || ####################################################################### || # Downloaded: 17:34, Tue Oct 26th 2021 || # CVS: $RCSfile$ - $Revision: 107441 $ || ####################################################################### \*=========================================================================*/