Upgrade to CodeIgniter 2.0.3

This commit is contained in:
Eike Foken
2011-09-13 19:15:50 +02:00
parent 8dd1099e04
commit a8c2551be2
53 changed files with 1949 additions and 578 deletions

View File

@@ -84,13 +84,13 @@ class CI_User_agent {
*/
private function _load_agent_file()
{
if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/user_agents'.EXT))
if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php'))
{
include(APPPATH.'config/'.ENVIRONMENT.'/user_agents'.EXT);
include(APPPATH.'config/'.ENVIRONMENT.'/user_agents.php');
}
elseif (is_file(APPPATH.'config/user_agents'.EXT))
elseif (is_file(APPPATH.'config/user_agents.php'))
{
include(APPPATH.'config/user_agents'.EXT);
include(APPPATH.'config/user_agents.php');
}
else
{