Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ########################################
- # @Author Xenous(Lucas) #
- # @Regards to Limez,XenoGFX & #
- # @ others who supported me during dev #
- ########################################
- //define("XenCMS", true);
- if (!defined("XenCMS")) {
- die('404 Page not found.');
- }
- # Requiring the files. #
- require_once "inc/inc.config.php";
- require_once "inc/class.mysql.php";
- require_once "inc/class.users.php";
- require_once "inc/class.misc.php";
- # Defining some variables. #
- $xHost = $config['mysql']['hostname'];
- $xUser = $config['mysql']['user'];
- $xPass = $config['mysql']['pass'];
- $xDb = $config['mysql']['database'];
- $xCredits = $config['user']['credits'];
- $xPixels = $config['user']['pixels'];
- $xMotto = $config['user']['motto'];
- $xLook = $config['user']['look'];
- $xRank = $config['user']['rank'];
- $ip = $_SERVER['REMOTE_ADDR'];
- # Actually defining something. #
- //define("TPL"," templates/" . $config['url']['template']);
- define("EXT", ".php");
- # Defining the classes. #
- $db = new xSQL($xHost, $xUser, $xPass, $xDb);
- $user = new xUsers();
- $sec = new xSecurity();
- //$tpl = new xTemplate();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement