aboutsummaryrefslogtreecommitdiffstats
path: root/php/share.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-14 10:00:06 +0200
committeradam <adam@>2021-02-14 10:00:06 +0200
commita3b6210ac043e2fdeb20d48d464e3a1466f388b4 (patch)
treecefb4c6095e980e6e627e0995dfa7a905310a2a1 /php/share.php
parent4dc542a5e3d7a2a9d2b0eb97de0c567cbdd01720 (diff)
downloadfileup-a3b6210ac043e2fdeb20d48d464e3a1466f388b4.tar.gz
destroys sessions more propperly now
Diffstat (limited to 'php/share.php')
-rw-r--r--php/share.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/share.php b/php/share.php
index 73b1c3b..aeffac4 100644
--- a/php/share.php
+++ b/php/share.php
@@ -2,6 +2,7 @@
require_once "configuration.php";
require_once "database.php";
require_once "user.php";
+
session_start();
$user=$_SESSION['user_object'];