aboutsummaryrefslogtreecommitdiffstats
path: root/craftmine.php
diff options
context:
space:
mode:
Diffstat (limited to 'craftmine.php')
-rw-r--r--craftmine.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/craftmine.php b/craftmine.php
index 4582f4e..c5f09be 100644
--- a/craftmine.php
+++ b/craftmine.php
@@ -1,9 +1,10 @@
<?php
-session_start();
require_once("inc/mine.inc");
require_once("inc/shop.inc");
+session_start(); // Must be placed *BEFORE* $_SESSION is actually used and *AFTER* all classes are imported
+
/**
* Indique au client une message requete.
*/