Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14934

Disable template compilation in setup wizard

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.7, 4.1.4, 4.2.0alpha1
    • 4.0.5, 4.1.1, 4.1.2
    • Caching
    • None

    Description

      Currently templates are compiled just to be used 1 time during the setup wizard steps, simply disabling compilation in setup wizard makes it a lot snappier and gives a better first impressions of eZ Publish (especially for windows user, aka new users..)

      patch:

      Index: kernel/setup/ezsetup.php
      ===================================================================
      --- kernel/setup/ezsetup.php	(revision 23591)
      +++ kernel/setup/ezsetup.php	(working copy)
      @@ -30,7 +30,10 @@
       
       $GLOBALS['eZSiteBasics']['no-cache-adviced'] = false;
       
      +// avoid compiling templates just for 1 view.
      +$GLOBALS['eZTemplateCompilerSettings']['compile'] = false;
       
       // Include common functions
       include_once( "kernel/setup/ezsetupcommon.php" );
       include_once( "kernel/setup/ezsetuptests.php" );
      
      

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: