1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- if(!defined('entry') || !entry) die('Not a valid page');
-
-
-
-
- ini_set('pcre.backtrack_limit', '10000');
-
-
- $configFile = dirname(__FILE__).DIRECTORY_SEPARATOR."config.php";
-
- if (!file_exists($configFile)) {
- header("Location: install.php");
- } else {
- require(dirname(__FILE__).DIRECTORY_SEPARATOR."config.php");
- }
-
- require_once("classes/configuration.class.php");
- require_once("classes/textile.class.php");
- require_once("classes/gelato.class.php");
- require_once("classes/templates.class.php");
- require_once("classes/pagination.class.php");
- require_once("classes/user.class.php");
- require_once("classes/comments.class.php");
- require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
- require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
- require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
- require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
-
- $user = new user();
- $conf = new configuration();
- $tumble = new gelato();
-
-
- session_start();
-
- ?>
|