Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10145

Ability to force recompilation of all templates on every page load

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.8
    • Fix Version/s: 3.0.9-RC1
    • Component/s: None
    • Labels:
      None

      Description

      It would be nice for phpbb to unconditionally compile all templates on every page load. This would be very convenient when modifying phpbb's template engine

        Issue Links

          Activity

          Hide
          Oleg Oleg [X] (Inactive) added a comment - - edited

          (21:44:03) APTX: if you define DEBUG_EXTRA it should always recompile

          Which would make this a documentation bug.

          Show
          Oleg Oleg [X] (Inactive) added a comment - - edited (21:44:03) APTX: if you define DEBUG_EXTRA it should always recompile Which would make this a documentation bug.
          Hide
          nickvergessen Joas Schilling added a comment -

          Well isnt that what the option in ACP load is for?

          Recompile stale style components:
          Check for updated style components on filesystem and recompile.

          Show
          nickvergessen Joas Schilling added a comment - Well isnt that what the option in ACP load is for? Recompile stale style components: Check for updated style components on filesystem and recompile.
          Hide
          bantu Andreas Fischer added a comment -

          No it's not. Come on.

          Show
          bantu Andreas Fischer added a comment - No it's not. Come on.
          Hide
          Oleg Oleg [X] (Inactive) added a comment - - edited

          DEBUG_EXTRA is only respected by the new template engine. The template engine in 3.0 does not have requested functionality.

          (22:18:51) Noxwizard: It would be easy enough to just add it to line 279 of /includes/template.php.

          Show
          Oleg Oleg [X] (Inactive) added a comment - - edited DEBUG_EXTRA is only respected by the new template engine. The template engine in 3.0 does not have requested functionality. (22:18:51) Noxwizard: It would be easy enough to just add it to line 279 of /includes/template.php.
          Hide
          bantu Andreas Fischer added a comment -

          Ok. Recompile when DEBUG_EXTRA is defined.

          Show
          bantu Andreas Fischer added a comment - Ok. Recompile when DEBUG_EXTRA is defined.
          Hide
          Oleg Oleg [X] (Inactive) added a comment -

          The diff looks good, in particular it seems to not be affected by https://github.com/p/phpbb3/commit/203187a8410c411b0bdd90729e19c257ec3a7820 .

          Show
          Oleg Oleg [X] (Inactive) added a comment - The diff looks good, in particular it seems to not be affected by https://github.com/p/phpbb3/commit/203187a8410c411b0bdd90729e19c257ec3a7820 .

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              Oleg Oleg [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development