[*] Core: don't re-generate the class_index.php file if a class is not known to avoid misuse of class_exists()

This commit is contained in:
Rémi Gaillard committed 2013-09-12 15:03:23 +02:00
1 parent cc36eb2d27
commit f9b1f0ab5e
3 files changed
+3 -3

No files matched your search

@@ -796,6 +796,7 @@ class AdminPerformanceControllerCore extends AdminController
{
$redirectAdmin = true;
Tools::clearSmartyCache();
Autoload::getInstance()->generateIndex();
}
if ($redirectAdmin && (!isset($this->errors) || !count($this->errors)))