Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.2.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      phpBB 3.1 requires PHP 5.3.3+, so some code can be simplified.

      includes/startup.php

      Lines 18 to 21 (code) can be removed.

      Lines 123 to 148 (code) can be replaced with:

      date_default_timezone_set(@date_default_timezone_get());
      

      All of this because E_DEPRECATED, date_default_timezone_set() and date_default_timezone_get() were introduced in PHP 5.3.0.

      includes/functions.php

      Line 772 (code) can be replaced with the following for clarity:

      // Check if we are able to resolve symlinks, Windows (prior to Vista and Server 2008) cannot.
      

        Attachments

          Activity

            People

            • Assignee:
              nicofuma nicofuma
              Reporter:
              M.Gaetan89 M.Gaetan89
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: