Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Current distro file "publish" config variables as globals. That's ugly.

      Also, we need one hook before database creation by installer, because windows packages use to change the password (default to blank in xampp) to the entered one.

      So I'm going to:

      1) Change current use of distro.php to call to: distro_get_config() function
      2) Add hook distro_pre_create_db() before database creation
      3) Both functions will be executed if exist
      4) distrolib.php will be included_once() if exists.

      Agreed with Petr (adding him as QA). Ciao

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Petr Skoda
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10