diff options
| author | Horus3 | 2014-03-18 00:43:33 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-18 00:43:33 +0100 |
| commit | 175cbe43b0ab9fdad7b88b1c213f3975a26b603c (patch) | |
| tree | a584be18706109fc60364a570e40d31fdb4f5e19 /www/setup.php | |
| parent | 60bb005eba26c066bdebcea80c40dbfe727a801c (diff) | |
| download | files.iamfabulous.de-175cbe43b0ab9fdad7b88b1c213f3975a26b603c.tar.gz | |
setup.php destroys a potential initialized session
Diffstat (limited to 'www/setup.php')
| -rwxr-xr-x | www/setup.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/setup.php b/www/setup.php index e7e9bb4..e2d24c5 100755 --- a/www/setup.php +++ b/www/setup.php @@ -21,6 +21,10 @@ foreach ($_GET as $name => $value) { } if($bool){ + if(isset($_SESSION["login"])){ + session_start(); + session_destroy(); + } if($db->exec(" BEGIN TRANSACTION; PRAGMA writable_schema = 1; |
