Created
March 5, 2014 22:27
-
-
Save nickvergessen/9377976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================================================================== | |
--- phpBB/includes/functions.php (revision 2eaf045405bf0d0e4b9ed148de611c42764cf90f) | |
+++ phpBB/includes/functions.php (revision ) | |
@@ -2210,9 +2210,9 @@ | |
*/ | |
function generate_board_url($without_script_path = false) | |
{ | |
- static $board_url, $full_board_url; | |
+ static $static_board_url, $static_full_board_url; | |
- if ($board_url !== null) | |
+ /*if ($board_url !== null) | |
{ | |
if (!$without_script_path) | |
{ | |
@@ -2222,7 +2222,7 @@ | |
{ | |
return $board_url; | |
} | |
- } | |
+ }*/ | |
global $config, $user, $request; | |
@@ -2270,6 +2270,7 @@ | |
$full_board_url = substr($full_board_url, 0, -1); | |
} | |
+ var_dump('Else 2mal gleich:', $static_full_board_url, $full_board_url); | |
if (!$without_script_path) | |
{ | |
return $full_board_url; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment