Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: init.php 5380 2011-02-21 12:04:43Z Tomm $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 54 | Zeile 54 |
---|
{ date_default_timezone_set('GMT'); }
|
{ date_default_timezone_set('GMT'); }
|
require_once MYBB_ROOT."inc/functions_compat.php";
| |
require_once MYBB_ROOT."inc/class_error.php"; $error_handler = new errorHandler();
| require_once MYBB_ROOT."inc/class_error.php"; $error_handler = new errorHandler();
|
Zeile 200 | Zeile 198 |
---|
$mybb->parse_cookies(); $mybb->cache = &$cache;
|
$mybb->parse_cookies(); $mybb->cache = &$cache;
|
if($mybb->settings['useshutdownfunc'] != 0)
| if($mybb->use_shutdown == true)
|
{
|
{
|
$mybb->use_shutdown = true; register_shutdown_function(array(&$mybb, "__destruct"));
| register_shutdown_function('run_shutdown');
|
}
// Did we just upgrade to a new version and haven't run the upgrade scripts yet?
| }
// Did we just upgrade to a new version and haven't run the upgrade scripts yet?
|
Zeile 218 | Zeile 215 |
---|
}
// Load plugins
|
}
// Load plugins
|
if(!defined("NO_PLUGINS"))
| if(!defined("NO_PLUGINS") && !($mybb->settings['no_plugins'] == 1))
|
{ $plugins->load(); }
| { $plugins->load(); }
|
Zeile 227 | Zeile 224 |
---|
add_shutdown('send_mail_queue');
/* URL Definitions */
|
add_shutdown('send_mail_queue');
/* URL Definitions */
|
if($mybb->settings['seourls'] == "yes" || ($mybb->settings['seourls'] == "auto" && $_SERVER['SEO_SUPPORT'] == 1))
| if($mybb->settings['seourls'] == "yes" || ($mybb->settings['seourls'] == "auto" && isset($_SERVER['SEO_SUPPORT']) && $_SERVER['SEO_SUPPORT'] == 1))
|
{ define('FORUM_URL', "forum-{fid}.html"); define('FORUM_URL_PAGED', "forum-{fid}-page-{page}.html");
| { define('FORUM_URL', "forum-{fid}.html"); define('FORUM_URL_PAGED', "forum-{fid}-page-{page}.html");
|