• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autoload error

#5
[eluser]dorwin[/eluser]
Ok Thanks for indication,

actually it was

Code:
$system_folder = "C:\wamp\www\librairies\codeigniter\system";

//and removing this :

/*
if (strpos($system_folder, '/') === FALSE)
{
    if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE)
    {
        $system_folder = realpath(dirname(__FILE__)).'/'.$system_folder;
    }
}
else
{
    // Swap directory separators to Unix style for consistency
    $system_folder = str_replace("\\", "/", $system_folder);
}
*/

I guess on production it will be /usr/home/v1076/libraries/codeigniter/system or something like that, you were right, include path is useless Wink

thanks and bye Smile


Messages In This Thread
Autoload error - by El Forum - 08-08-2010, 07:11 AM
Autoload error - by El Forum - 08-08-2010, 08:48 AM
Autoload error - by El Forum - 08-08-2010, 09:14 AM
Autoload error - by El Forum - 08-08-2010, 10:01 AM
Autoload error - by El Forum - 08-08-2010, 10:39 AM
Autoload error - by El Forum - 08-08-2010, 10:49 AM
Autoload error - by El Forum - 08-08-2010, 10:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.