Example #1
0
}
function ee($dep = NULL)
{
    $facade = get_instance();
    if (isset($dep) && isset($facade->di)) {
        $args = func_get_args();
        return call_user_func_array(array($facade->di, 'make'), $args);
        return $facade->di->make($dep);
    }
    return $facade;
}
/*
 * ------------------------------------------------------
 *  Parse the request
 * ------------------------------------------------------
 */
$request = Core\Request::fromGlobals();
/*
 * ------------------------------------------------------
 *  Run the request and get a response
 * ------------------------------------------------------
 */
$response = $core->run($request);
/*
 * ------------------------------------------------------
 *  Send the response
 * ------------------------------------------------------
 */
$response->send();
/* End of file boot.php */
/* Location: ./system/EllisLab/ExpressionEngine/Boot/boot.php */