1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

some tiny fixes and two new features. ;)

git-svn-id: file:///svn/phpbb/trunk@7994 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-08-01 16:27:06 +00:00
parent 2ffdd92975
commit 5ed0be15ab
8 changed files with 38 additions and 17 deletions

View File

@@ -1582,6 +1582,13 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false)
{
global $_SID, $_EXTRA_URL;
// Developers using the hook function need to globalise the $_SID and $_EXTRA_URL on their own and also handle it appropiatly.
// They could mimick most of what is within this function
if (function_exists('append_sid_phpbb_hook'))
{
return append_sid_phpbb_hook($url, $params, $is_amp, $session_id);
}
// Assign sid if session id is not specified
if ($session_id === false)
{
@@ -4276,7 +4283,10 @@ function page_footer($run_cron = true)
garbage_collection();
exit;
if (!defined('PHPBB_EMBEDDED'))
{
exit;
}
}
/**