Core/index.php

13 lines
330 B
PHP

<?php
// Include framework
require_once( dirname(__FILE__) . "/Core/System/class.core.php");
// Load it
$core = new \FuzeWorks\Core();
$core->init();
$core->loadMod('router');
$core->mods->router->setPath( (isset($_GET['path']) ? $_GET['path'] : null) );
$core->mods->router->route();
$core->mods->router->loadController();
?>