Fix: (bugs) If you put the system in a virtual directory

发布:2017-03-11 18:13   点击:222次   回复:0

There is some bugs If you put the system in a virtual directory

  • File:
  • code/core/sdev/devRun.php
  • Code
    // prootGet
    static function prootGet(){
        $path = $_SERVER['SCRIPT_NAME']; // /intimate/index.php -> E:\truedir\index.php
        $files = array(
            "/root/tools/setup/index.php",
            "/root/tools/adbug/start.php",
            "/index.php",
        );
        $path = str_replace($files,'',$path);
        return $path;
    } 
状态:开放 Makedown ---   bug编号: ---
回复(0条)   >>我来回复 回复列表

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:6.943/45.780(ms); 8(sql)/3.26(MB); comm:faqs/detail; Upd:2024-04-19 07:42:30