2015-02-08 16:29:39 +00:00
|
|
|
<?php
|
|
|
|
// Include framework
|
|
|
|
if (!defined('FUZEPATH')) {
|
|
|
|
define( 'FUZEPATH', dirname(__FILE__) . '/' );
|
|
|
|
}
|
|
|
|
|
|
|
|
require_once( dirname(__FILE__) . "/Core/System/class.core.php");
|
|
|
|
|
|
|
|
// Load it
|
2015-04-29 15:18:33 +00:00
|
|
|
$core = new \FuzeWorks\Core();
|
2015-02-08 16:29:39 +00:00
|
|
|
$core->init();
|
2015-02-10 20:04:31 +00:00
|
|
|
$core->loadMod('router');
|
2015-02-08 16:29:39 +00:00
|
|
|
$core->mods->router->setPath( (isset($_GET['path']) ? $_GET['path'] : null) );
|
|
|
|
$core->mods->router->route();
|
2015-04-29 11:46:33 +00:00
|
|
|
$core->mods->router->loadController();
|
2015-02-08 16:29:39 +00:00
|
|
|
|
|
|
|
?>
|