This commit is contained in:
8
DevTool/index.php
Normal file
8
DevTool/index.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php !defined('__TYPECHO_ROOT_DIR__') and exit();
|
||||
|
||||
$options = Helper::options();
|
||||
$siteUrl = $options->siteUrl;
|
||||
$isRewrite = $options->rewrite;
|
||||
$absUrl = ($isRewrite ? rtrim($siteUrl, '/') : $siteUrl . "index.php");
|
||||
|
||||
Typecho_Response::getInstance()->redirect($absUrl . __TYPECHO_ADMIN_DIR__ . 'dev-tool/index');
|
||||
Reference in New Issue
Block a user