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/sakura.php

17 lines
311 B
PHP
Raw Normal View History

2015-04-01 15:35:27 +00:00
<?php
/*
2016-07-26 17:29:53 +00:00
* Community Management System
2016-02-02 21:04:15 +00:00
* (c) 2013-2016 Julian van de Groep <http://flash.moe>
2015-04-01 15:35:27 +00:00
*/
namespace Sakura;
require_once 'vendor/autoload.php';
2016-02-27 16:46:16 +00:00
2016-10-07 17:55:50 +00:00
ExceptionHandler::register();
Config::load(path('config/config.ini'));
DB::connect(config('database'));
2016-11-04 17:51:11 +00:00
Router::init();
include_once path('routes.php');