// Fix Exception in autoload

This commit is contained in:
rMalie
2012-01-26 13:15:42 +00:00
parent 8a5b2dc523
commit f87f846853
+2 -2
View File
@@ -154,11 +154,11 @@ class Autoload
if (!$integrity_is_ok)
{
file_put_contents($filename, '<?php return array(); ?>');
throw new Exception('Your file '.$filename.' is corrupted. Please remove this file, a new one will be regenerated automatically');
throw new PrestashopException('Your file '.$filename.' is corrupted. Please remove this file, a new one will be regenerated automatically');
}
}
else
throw new Exception($filename.' is not writable!');
throw new PrestashopException($filename.' is not writable!');
$this->index = $classes;
}