- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
19 lines
413 B
PHP
19 lines
413 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use PhpMyAdmin\Routing;
|
|
|
|
if (! defined('ROOT_PATH')) {
|
|
// phpcs:disable PSR1.Files.SideEffects
|
|
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
|
// phpcs:enable
|
|
}
|
|
|
|
global $route, $containerBuilder;
|
|
|
|
require_once ROOT_PATH . 'libraries/common.inc.php';
|
|
|
|
$dispatcher = Routing::getDispatcher();
|
|
Routing::callControllerForRoute($route, $dispatcher, $containerBuilder);
|