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

optimize autoload.php not to search for ezc autoloads

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • None
    • 4.0.1
    • Misc
    • None

    Description

      Current autoload code does try, for every page view, to include twice the ezc base class.
      Both operations are prepended with the @ operator, since there is no guarantee at all that ezc is onboard.
      This makes for (at least) two stat() calls too much, and some added slowness.

      Proposed improvement:
      allow config.php to dfine a constant, eg.SKIP_EZCBASE that, when defined and set to true, will prevent those calls to be made.

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: