[*] Installer: pre-compile the smarty templates to improve the loading time of first connection
This commit is contained in:
1 parent
52a6a67f74
commit
2c855558cd
3 files changed
+64
No files matched your search
@@ -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