PHP
·
发表于 5年以前
·
阅读量:8299
±¾ÎÄʵÀý½²ÊoÁËCI¿o¼ÜÖÐÀaµÄ×Ô¶¯¼ÓÔØÎÊÌa¡£*ÖÏi¸ø´o¼Ò¹(C)´o¼Ò²Î¿¼£¬¾ßÌaÈçÏ£º
application/config
ÅaÖÃÎļþÖÐÌi¼Ó£º
| 1. Packages
| 2. Libraries
| 3. Helper files
| 4. Custom config files
| 5. Language files
| 6. Models
*1. µÚÈý½¿aÎļþ¼ÓÔØ**
// $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
$autoload['packages'] = array();
2. ϵͳÀa¿a¼ÓÔØ
// $autoload['libraries'] = array('database', 'session', 'xmlrpc');
$autoload['libraries'] = array('database','session','form_validation','pagination','upload','curl','user_agent');
3. °iÖuÎļþ¼ÓÔØ
// $autoload['helper'] = array('url', 'file');
$autoload['helper'] = array('url','cookie','form','captcha','string','html','array','date','file','common');
4. ÅaÖÃÎļþ¼ÓÔØ
// $autoload['config'] = array('config1', 'config2');
$autoload['config'] = array();
5. ÓiÑÔÎļþ¼ÓÔØ
// $autoload['language'] = array('lang1', 'lang2');
$autoload['language'] = array();
6. Êý¾ÝÄ£Ð͵Ä×Ô¶¯¼ÓÔØ
//$autoload['model'] = array('model1', 'model2');
$autoload['model'] = array('');
¸u¶a¹ØÓÚCodeIgniterÏa¹ØÄÚÈݸÐÐËȤµÄ¶ÁÕ߿ɲe¿´±¾Õ¾×¨Ìa£º¡¶codeigniterÈeÃŽ̡̳¡¢¡¶CI(CodeIgniter)¿o¼Ü½ø½×½Ì³Ì¡¡¢¡¶phpÓÅÐa¿ª*¢¿o¼Ü×ܽa¡¡¢¡¶ThinkPHPÈeÃŽ̡̳¡¢¡¶ThinkPHP³£Óý¨×ܽa¡¡¢¡¶Zend FrameWork¿o¼ÜÈeÃŽ̡̳¡¢¡¶phpÃaeÏo¶ÔÏo³ÌÐoÉe¼ÆÈeÃŽ̡̳¡¢¡¶php+mysqlÊý¾Ý¿a²Ù×÷ÈeÃŽ̡̳¼°¡¶php³£¼uÊý¾Ý¿a²Ù×÷¼¼ÇÉ»a×Ü¡*
Ï£Íu±¾ÎÄËuÊo¶Ô´o¼Ò»uÓÚCodeIgniter¿o¼ÜµÄPHP³ÌÐoÉe¼ÆÓÐËu°iÖu¡£