画像ライブラリーはクラス化、TGA対応の追加
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
require_once __DIR__.DIRECTORY_SEPARATOR.'/autoload.php';
|
||||
|
||||
@@ -16,8 +14,13 @@ use Site\Controller\User;
|
||||
define('ROOT', realpath(__DIR__));
|
||||
|
||||
include(ROOT.'/config/config.php');
|
||||
if (DEBUG_MODE) {
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
}
|
||||
include(ROOT.'/util.php');
|
||||
|
||||
|
||||
$routes = [
|
||||
Route::add('GET', 'blog/{page}', Home::class.'@article'),
|
||||
Route::add('GET', 'about', Page::class.'@about'),
|
||||
|
||||
Reference in New Issue
Block a user