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

Languages variables should be used, not hardcoded

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.13-RC1, 3.1.0-b1
    • 3.0.12, 3.1.0-a3
    • None

      Also I have just noticed (by chance from looking at a diff) that in functions_module.php on Line 452:
      trigger_error('Module not accessible', E_USER_ERROR);
      and Line 460:
      trigger_error("Cannot find module $module_path/{$this->p_name}.$phpEx", E_USER_ERROR);
      and Line 467:
      trigger_error("Module file $module_path/{$this->p_name}.$phpEx does not contain correct class [{$this->p_name}]", E_USER_ERROR);

      Also looking at http://tracker.phpbb.com/browse/PHPBB3-9975 I have a feeling that this could run deeper that a lot of errors don't use language variables.

            bantu Andreas Fischer [X] (Inactive)
            unknown bliss unknown bliss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: