changed path from dirname(__FILE__) to PS_ROOT_DIR

This commit is contained in:
emilien-puget
2013-10-24 11:44:52 +02:00
parent 9a7c3dd88f
commit 92c2f6953f
9 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class Autoload
protected function __construct()
{
$this->root_dir = dirname(dirname(__FILE__)).'/';
$this->root_dir = _PS_ROOT_DIR_.'/';
if (file_exists($this->root_dir.Autoload::INDEX_FILE))
$this->index = include($this->root_dir.Autoload::INDEX_FILE);
else