# / __\ __ __ _ / _| |_ ___ __| / / /\ \ \___| |__ # / / | '__/ _` | |_| __/ _ \/ _` \ \/ \/ / _ \ '_ \ #/ /__| | | (_| | _| || __/ (_| |\ /\ / __/ |_) | #\____/_| \__,_|_| \__\___|\__,_| \/ \/ \___|_.__/ # # -[ Created by �Nomsoft # `-[ Original core by Anthony (Aka. CraftedDev) # # -CraftedWeb Generation II- # __ __ _ # /\ \ \___ _ __ ___ ___ ___ / _| |_ # / \/ / _ \| '_ ` _ \/ __|/ _ \| |_| __| # / /\ / (_) | | | | | \__ \ (_) | _| |_ # \_\ \/ \___/|_| |_| |_|___/\___/|_| \__| - www.Nomsoftware.com - # The policy of Nomsoftware states: Releasing our software # or any other files are protected. You cannot re-release # anywhere unless you were given permission. # � Nomsoftware 'Nomsoft' 2011-2012. All rights reserved. //This file exists just to clear some space from all the /scripts files. session_start(); define('INIT_SITE', TRUE); //Init config require '../configuration.php'; require '../misc/connect.php'; require '../misc/func_lib.php'; require '../classes/account.php'; require '../classes/website.php'; require '../classes/character.php'; require '../classes/server.php'; connect::connectToDB();
require 'includes/configuration.php'; //Load configuration file if (isset($GLOBALS['not_installed']) && $GLOBALS['not_installed'] == true) { if (file_exists('install/index.php')) { header("Location: install/index.php"); } else { exit('<b>Error</b>. It seems like your website is not yet installed, but no installer could be found!'); } } if ($GLOBALS['maintainance'] == TRUE && !in_array($_SERVER['REMOTE_ADDR'], $GLOBALS['maintainance_allowIPs'])) { die("<center><h3>Website Maintainance</h3>\r\n " . $GLOBALS['website_title'] . " is currently undergoing some major maintainance and will be available as soon as possible.\r\n <br/><br/>Sincerely\r\n </center>"); } require 'includes/misc/connect.php'; //Load connection class $connect = new connect(); $connect->connectToDB(); require 'includes/misc/func_lib.php'; require 'includes/misc/compress.php'; require 'includes/classes/account.php'; require 'includes/classes/server.php'; require 'includes/classes/website.php'; require 'includes/classes/shop.php'; require 'includes/classes/character.php'; require 'includes/classes/cache.php'; require 'includes/classes/plugins.php'; /******* LOAD PLUGINS ***********/ plugins::globalInit(); plugins::init('classes'); plugins::init('javascript'); plugins::init('modules'); plugins::init('styles');