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

发布:2017-03-11 18:13   点击:229次   回复: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:8.892/40.238(ms); 13(sql)/3.264(MB); comm:faqs/detail; Upd:2024-11-15 18:15:59