mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-07 06:15:33 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放crmeb一个目录
This commit is contained in:
parent
7e3aeedae9
commit
f6b46532cc
@ -8,7 +8,7 @@
|
||||
<?php
|
||||
$uri = $_SERVER['REQUEST_URI'];
|
||||
$root = substr($uri, 0,strpos($uri, "install"));
|
||||
$admin = $root."../index.php/Admin/admin/";
|
||||
$admin = $root."../index.php/admin/index/";
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
@ -21,7 +21,7 @@ $admin = $root."../index.php/Admin/admin/";
|
||||
</div>
|
||||
<div class="bottom tac">
|
||||
<a href="<?php echo 'http://'.$host;?>/index.php/wap/" class="btn">进入前台</a>
|
||||
<a href="<?php echo 'http://'.$host;?>/index.php//admin/login/index.html" class="btn btn_submit J_install_btn">进入后台</a>
|
||||
<a href="<?php echo 'http://'.$host;?>/index.php/admin/login/index" class="btn btn_submit J_install_btn">进入后台</a>
|
||||
</div>
|
||||
<div class=""> </div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user