已采納回答 / 372191242imooc
tp5系統默認的配置文件目錄就是應用目錄( APP_PATH )tp\application\config.php(全局應用配置,前臺=后臺=其他模塊)tp\application\index\config.php(僅index模塊配置, 前臺)tp\application\admin\config.php(僅admin模塊配置, 后臺)----------tp5公共配置目錄tp\public\index.php入口文件添加( CONF_PATH )配置define('CONF_PATH', __DIR_...
2017-05-31
最新回答 / Z269
array (size=35) ?'ALLUSERSPROFILE' => string 'C:\ProgramData' (length=14) ?'APPDATA' => string 'C:\Windows\system32\config\systemprofile\AppData\Roaming' (length=56) ?'CommonProgramFiles' => string 'C:\Program Files\Common Files' (length=29) ?'Co...
2017-05-21
已采納回答 / vLiang
https://jingyan.baidu.com/article/dca1fa6f8d623ff1a44052e8.html?http://niutuku.com/tech/php/273616.shtml 試試看這2個
2017-05-19
已采納回答 / softcat
// 檢測PHP環境if(version_compare(PHP_VERSION,'5.4.0','<')) ?die('require PHP > 5.4.0 !');// 定義應用目錄define('APP_PATH', __DIR__ . '/application/');// 加載框架引導文件require __DIR__ . '/thinkphp/start.php';
2017-05-18
已采納回答 / 獅子座的子曰
localhost/index/index/index這種是隱藏了入口文件的訪問方式了,可以翻看老師之前的視頻有講到apache怎么隱藏入口文件index.php了
2017-05-13