Skip to content

Instantly share code, notes, and snippets.

@nickvergessen
Created March 5, 2014 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickvergessen/9377976 to your computer and use it in GitHub Desktop.
Save nickvergessen/9377976 to your computer and use it in GitHub Desktop.
===================================================================
--- 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