Page MenuHomeDevCentral

No OneTemporary

diff --git a/index.php b/index.php
index 3574b46..7ad9291 100755
--- a/index.php
+++ b/index.php
@@ -1,44 +1,47 @@
<?php
/* -------------------------------------------------------------
Nasqueron Tools
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Author: Sébastien Santoro aka Dereckson
Project: Nasqueron
Created: 2013
Licence: Released under BSD license
------------------------------------------------------------- */
////////////////////////////////////////////////////////////////////////////////
///
/// Initialization
///
define('IN_KERUALD', true);
define('IN_PLUTON', true);
+define('NO_SESSION', true);
//Keruald libraries
include('includes/core.php');
//Pluton libraries
include('includes/document.php');
//Site libraries
include('includes/core2.php');
////////////////////////////////////////////////////////////////////////////////
///
/// Session
///
-$Session = Session::load();
-$CurrentUser = $Session->get_logged_user();
+if (!NO_SESSION) {
+ $Session = Session::load();
+ $CurrentUser = $Session->get_logged_user();
+}
////////////////////////////////////////////////////////////////////////////////
///
/// Serves the requested page
///
$url = get_current_url();
$document = new Document($url);
$document->render();

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 24, 21:00 (10 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258922
Default Alt Text
(1 KB)

Event Timeline