Upgrade to CodeIgniter 2.0.3
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user