[*] 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
2013-09-12 15:03:23 +02:00
parent cc36eb2d27
commit f9b1f0ab5e
3 changed files with 3 additions and 3 deletions
@@ -796,6 +796,7 @@ class AdminPerformanceControllerCore extends AdminController
{
$redirectAdmin = true;
Tools::clearSmartyCache();
Autoload::getInstance()->generateIndex();
}
if ($redirectAdmin && (!isset($this->errors) || !count($this->errors)))