Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9491

$config_schema not working with a Configuration file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • None
    • PHP Environment:
      Database:

      I noticed this with a configuration file that stores the settings in an array, not a variable. This type of file uses the array_name array. The problem is in function restore_config. The function does not look in the array_name array to retrieve the config setting. My fix handles both types of configuration files.

      I also added instructions in convert_phpbb20.php so users will know how to set up the $config_schema array.

            A_Jelly_Doughnut A_Jelly_Doughnut
            D¡cky Richard Foote [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: