This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/public/index.php

14 lines
228 B
PHP
Raw Normal View History

2015-04-01 17:05:55 +00:00
<?php
/*
2016-01-30 13:25:18 +00:00
* Sakura Router
2015-04-01 17:05:55 +00:00
*/
// Declare Namespace
namespace Sakura;
// Include components
require_once __DIR__ . '/../sakura.php';
2015-06-29 00:36:37 +00:00
2016-01-30 13:25:18 +00:00
// Handle requests
echo Router::handle($_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI']);