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

build_url() in functions.php return value has phpbb_path hardcoded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.6
    • 3.0.5
    • Other
    • None
    • PHP Environment: 5+
      Database:

      I am the owner/author of RokBridge, a phpBB3 bridge for Joomla. We try to keep our bridge as clean as possible, but there are a few issues that force us to patch minor things in phpBB3. One of these is the build_url() function in the functions.php file. This function returns:

      return $phpbb_root_path . str_replace('&', '&', $redirect);

      I was wandering if this could not just be:

      return str_replace('&', '&', $redirect);

      This removes the hardcoding, and still seems to work fine. This way it allows the bridge to function properly.

            Acyd Burn Meik Sievertsen [X] (Inactive)
            rhuk rhuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: