Vergleich inc/init.php - 1.00 - 1.16

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

 * $Id: init.php 922 2005-12-05 11:58:12Z chris $

 */

 */

 

if(strpos(strtolower($_SERVER['PHP_SELF']), "inc/init.php") !== false)
{
die("Direct initialization of this file is not allowed.");
}


error_reporting(E_ALL & ~E_NOTICE);
define("NO_SHUTDOWN", false);


error_reporting(E_ALL & ~E_NOTICE);
define("NO_SHUTDOWN", false);





require "./inc/class_timers.php";
$maintimer = new timer();

require "./inc/class_core.php";
$mybb = new MyBB;

require "./inc/class_timers.php";
$maintimer = new timer();

require "./inc/class_core.php";
$mybb = new MyBB;





		if(!defined("KILL_GLOBALS"))
{
@extract($_POST, EXTR_OVERWRITE);

		if(!defined("KILL_GLOBALS"))
{
@extract($_POST, EXTR_OVERWRITE);

Zeile 51Zeile 56
$plugins = new pluginSystem;

require "./inc/integration.php";

$plugins = new pluginSystem;

require "./inc/integration.php";





// Connect to Database
define("TABLE_PREFIX", $config['table_prefix']);
$db->connect($config['hostname'], $config['username'], $config['password']);

// Connect to Database
define("TABLE_PREFIX", $config['table_prefix']);
$db->connect($config['hostname'], $config['username'], $config['password']);

Zeile 76Zeile 81
{
$plugins->load();
}

{
$plugins->load();
}



$shutdown_queries = array();

if(!NO_SHUTDOWN)
{
register_shutdown_function("run_shutdown");

if(!NO_SHUTDOWN)
{
register_shutdown_function("run_shutdown");