leilukin-tumbleblog/admin/index.php

21 lines
441 B
PHP
Raw Permalink Normal View History

2024-06-20 14:10:42 +00:00
<?php
define('ADMIN', true);
require_once dirname(__FILE__, 2).
DIRECTORY_SEPARATOR.
"includes".
DIRECTORY_SEPARATOR.
"common.php";
# Prepare the controller.
$admin = AdminController::current();
# Parse the route.
$route = Route::current($admin);
# Respond to the request.
$route->init();
$trigger->call("end");
ob_end_flush();