[*] Installer: pre-compile the smarty templates to improve the loading time of first connection

This commit is contained in:
Rémi Gaillard committed 2013-01-11 18:13:28 +01:00
1 parent 52a6a67f74
commit 2c855558cd
3 files changed
+64

No files matched your search

+5
View File
@@ -95,6 +95,11 @@ abstract class InstallControllerHttp
final public static function execute()
{
if (Tools::getValue('compile_templates'))
{
require_once (_PS_INSTALL_CONTROLLERS_PATH_.'http/smarty_compile.php');
exit;
}
// Include all controllers
foreach (self::$steps as $step)
{