diff --git a/classes/Autoload.php b/classes/Autoload.php index 179c6728b..f95399920 100644 --- a/classes/Autoload.php +++ b/classes/Autoload.php @@ -104,7 +104,8 @@ class Autoload // request a non Core Class load the associated Core class if exists if (isset($this->index[$classname.'Core'])) require($this->root_dir.$this->index[$classname.'Core']); - require($this->root_dir.$this->index[$classname]); + if (isset($this->index[$classname])) + require($this->root_dir.$this->index[$classname]); } } // Call directly ProductCore, ShopCore class