is_gelato_installed()){ if(basename($_SERVER['PHP_SELF'])!='install.php'){ header("Location: {$dir}install.php");exit; } $installed = false; } } if($installed) { require($configFile); } 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("classes/feeds.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'); if($installed){ // Globals to be used throughout the application $user = new user(); $tumble = new gelato(); $conf = new configuration(); $db = new Conexion_Mysql(DB_name, DB_Server, DB_User, DB_Password); session_start(); $feeds = new feeds(); $feeds->updateFeeds(); unset($feeds); } ?>