erreur de chemin spl_autoload_register
ce code fonctionne en local
mais en ligne y a un probleme :
Code:
1 2 3 4 5
|
set_include_path(get_include_path() . PATH_SEPARATOR . implode(PATH_SEPARATOR, array(APP_PATH . '/', APP_PATH . '/includes/')));
spl_autoload_extensions(".class.php,.php,.inc");
spl_autoload_register();
Language::setLangInterface(); |
voici l'erreur retournée :
Citation:
Fatal error: Uncaught exception 'LogicException' with message 'Class Language could not be loaded' in /home/pve/www/core.php:26 Stack trace: #0
peut etre sur ovh cette fonction est désactivée ?