Zeile 3 | Zeile 3 |
---|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html
| * Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html
|
*
|
*
|
* $Id: init.php 2180 2006-09-02 07:36:22Z chris $
| * $Id: init.php 3030 2007-04-26 00:19:47Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 40 | Zeile 40 |
---|
require_once MYBB_ROOT."inc/class_core.php"; $mybb = new MyBB;
|
require_once MYBB_ROOT."inc/class_core.php"; $mybb = new MyBB;
|
| // Trigger an error if the installation directory exists if(is_dir(MYBB_ROOT."install") && !file_exists(MYBB_ROOT."install/lock")) { $mybb->trigger_generic_error("install_directory", true); }
|
// Include the required core files require_once MYBB_ROOT."inc/config.php";
|
// Include the required core files require_once MYBB_ROOT."inc/config.php";
|
|
|
if(!isset($config['dbtype'])) { $mybb->trigger_generic_error("board_not_installed", true); }
|
if(!isset($config['dbtype'])) { $mybb->trigger_generic_error("board_not_installed", true); }
|
|
|
if(!isset($config['admin_dir'])) { $config['admin_dir'] = "admin";
| if(!isset($config['admin_dir'])) { $config['admin_dir'] = "admin";
|