【发布时间】:2017-10-30 18:49:46
【问题描述】:
show 您的系统文件夹路径似乎设置不正确。请打开以下文件并更正:访问我的 CI 项目时的 index.php
【问题讨论】:
标签: codeigniter
show 您的系统文件夹路径似乎设置不正确。请打开以下文件并更正:访问我的 CI 项目时的 index.php
【问题讨论】:
标签: codeigniter
消息中提到的文件 (index.php) 通常位于 Codeigniter 安装的根文件夹中。
Codeigniter 的正常文件结构是这样的。
/root_name (often named 'www' or 'htdocs')
/application
/system
index.php <- Is the file to edit
index.php 中需要调整的部分如下所示。
/*
* ---------------------------------------------------------------
* SYSTEM DIRECTORY NAME
* ---------------------------------------------------------------
*
* This variable must contain the name of your "system" directory.
* Set the path if it is not in the same directory as this file.
*/
$system_path = 'system';
如果您使用正常的安装文件夹结构,则正确的条目是“系统”。如果您已将“系统”文件夹移动到其他位置或重命名它,则必须调整 $system_path 的值以匹配新位置或名称。
【讨论】: