美文网首页
修剪CodeIgniter的文件目录

修剪CodeIgniter的文件目录

作者: CommandM | 来源:发表于2016-06-22 00:54 被阅读14次

本人对一个Application文件夹里有那么多文件看的很是蛋疼= =【主要是小写开头。。。
所以删除了许多文件夹
在config中加入这些配置即可

$config['log_path'] = APPPATH.'Others/Logs';

$config['cache_path'] = APPPATH.'Others/Cache';

$config['core_path'] = APPPATH.'Others/Core';

$config['helpers_path'] = APPPATH.'Others/Helpers';

$config['hooks_path'] = APPPATH."Others/Hooks";

$config['language_path'] = APPPATH."Others/Language";

$config['libraries_path'] = APPPATH."Others/Libraries";

$config['third_party_path'] = APPPATH."Others/Third_party";

相关文章

网友评论

      本文标题:修剪CodeIgniter的文件目录

      本文链接:https://www.haomeiwen.com/subject/hwwgdttx.html