Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10549

Languages variables should be used, not hardcoded

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.12, 3.1.0-a3
    • Fix Version/s: 3.0.13-RC1, 3.1.0-b1
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bantu Andreas Fischer
                Reporter:
                unknown bliss unknown bliss
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: