Vergleich inc/init.php - 1.6.0 - 1.6.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 200Zeile 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 218Zeile 217
}

// Load plugins

}

// Load plugins

if(!defined("NO_PLUGINS"))

if(!defined("NO_PLUGINS") && !($mybb->settings['no_plugins'] == 1))

{
$plugins->load();
}

{
$plugins->load();
}