// Fixed pre-commit test..

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12381 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-11 18:08:49 +00:00
parent fdbc4ae6af
commit 47fc3efde5
+1 -1
View File
@@ -88,7 +88,7 @@ class Autoload
if (substr($classname, -4) != 'Core') if (substr($classname, -4) != 'Core')
{ {
// If requested class does not exist, load associated core class // If requested class does not exist, load associated core class
if (isset($this->index[$classname]) && !$this->indexTest[$classname]) if (isset($this->index[$classname]) && !$this->index[$classname])
{ {
require_once($this->root_dir.$this->index[$classname.'Core']); require_once($this->root_dir.$this->index[$classname.'Core']);
if (file_exists($this->root_dir.'override/'.$this->index[$classname.'Core'])) if (file_exists($this->root_dir.'override/'.$this->index[$classname.'Core']))