Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: global.php 2207 2006-09-10 01:46:13Z chris $
| * $Id: global.php 2771 2007-02-11 16:42:08Z CraKteR $
|
*/
// Lets pretend we're a level higher
| */
// Lets pretend we're a level higher
|
Zeile 20 | Zeile 20 |
---|
$config['admin_dir'] = "admin"; }
|
$config['admin_dir'] = "admin"; }
|
require_once dirname(dirname(__FILE__))."/inc/init.php";
| require_once "../inc/init.php";
|
define('MYBB_ADMIN_DIR', MYBB_ROOT.$config['admin_dir'].'/');
| define('MYBB_ADMIN_DIR', MYBB_ROOT.$config['admin_dir'].'/');
|
Zeile 229 | Zeile 229 |
---|
if(!empty($_SERVER['QUERY_STRING'])) { $goto .= '?'.$_SERVER['QUERY_STRING'];
|
if(!empty($_SERVER['QUERY_STRING'])) { $goto .= '?'.$_SERVER['QUERY_STRING'];
|
$goto = preg_replace('#(&?|&?|\??)adminsid=([a-zA-Z0-9]{1,32})#i', '', $goto);
| if(strpos($goto, '&') !== false) { $goto = preg_replace('#(&?|&?|\??)adminsid=([a-zA-Z0-9]{1,32})(&?|&?)#i', '\\1', $goto); } else { $goto = preg_replace('#\?adminsid=([a-zA-Z0-9]{1,32})#i', '', $goto); }
|
} } else
| } } else
|