summaryrefslogtreecommitdiff
path: root/includes/Session.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Session.php')
-rw-r--r--includes/Session.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/Session.php b/includes/Session.php
index a9c1dc7..967b11b 100644
--- a/includes/Session.php
+++ b/includes/Session.php
@@ -6,7 +6,8 @@ class Session
private function __construct()
{
- session_start();
+ if (session_status() == PHP_SESSION_NONE)
+ session_start();
}
public static function get()