[*] Installer: pre-compile the smarty templates to improve the loading time of first connection
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user