<menu id="guoca"></menu>
<nav id="guoca"></nav><xmp id="guoca">
  • <xmp id="guoca">
  • <nav id="guoca"><code id="guoca"></code></nav>
  • <nav id="guoca"><code id="guoca"></code></nav>

    防洪代碼如何刪除


    發現錯別字 2年前 提問
    回答
    1
    瀏覽
    136
    請勿發布不友善或者負能量的內容。與人為善,比聰明更重要!
    回答數量: 1
    等保中級測評師 CICSA

    復制下方代碼 在根目錄index.php全部替換即可

    <?php
    // 檢測程序安裝
    if(!is_file('./install/install.lock')){
        header('Location: ./install/index.php');
        exit;
    }
    // 定義URL
    if (!defined('WEB_URL')) { 
    $url = rtrim(dirname(rtrim($_SERVER['SCRIPT_NAME'], '/')), '/'); 
    define('WEB_URL', (('/' == $url || '\\' == $url) ? '' : $url)); 
    }
    
    // 定義應用目錄
    define('APP_PATH','./application/');
    define('BIND_MODULE','index');
    
    // 加載框架引導文件
    require './thinkphp/start.php';

    回答所涉及的環境:聯想天逸510S、Windows 10。

    2年前 / 評論
    亚洲 欧美 自拍 唯美 另类