git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8539 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli committed 2011-09-13 13:59:44 +00:00
1 parent fa63f24cd3
commit cccdd42735
1 file changed
-2
-2
View File
@@ -77,8 +77,6 @@ class Autoload
*/ */
public function load($classname) public function load($classname)
{ {
// echo("Please load $classname.<br />");
// regenerate the class index if the requested class is not found in the index or if the requested file doesn't exists // regenerate the class index if the requested class is not found in the index or if the requested file doesn't exists
if (!isset($this->index[$classname]) || ($this->index[$classname] && !file_exists($this->root_dir.$this->index[$classname]))) if (!isset($this->index[$classname]) || ($this->index[$classname] && !file_exists($this->root_dir.$this->index[$classname])))
$this->generateIndex(); $this->generateIndex();