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 5080 2010-07-04 19:12:25Z RyanGordon $
| * $Id: init.php 5683 2011-11-29 15:02:41Z Tomm $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 200 | Zeile 200 |
---|
$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 217 |
---|
}
// Load plugins
|
}
// Load plugins
|
if(!defined("NO_PLUGINS"))
| if(!defined("NO_PLUGINS") && !($mybb->settings['no_plugins'] == 1))
|
{ $plugins->load(); }
| { $plugins->load(); }
|