Minor changes

Moved config into $GLOBALS
Moved request_uri into $GLOBALS
Modified all files accordingly
Modified logout page for future improvements (not deleting the entire $_SESSION)
Fixed LICENSEs, moved LICENSE for PHP files in /lib/php subfolder instead of /lib
This commit is contained in:
Bryan committed 2019-04-06 11:57:35 +02:00
1 parent 18dc9b18d3
commit 81d21c311f
11 files changed
+30 -29

No files matched your search

+1 -3
View File
@@ -1,5 +1,3 @@
<?php
$_SESSION = array ( );
session_destroy ( );
$_SESSION [ 'user_id' ] = NULL;
header ( "Location: " . substr ( $_SERVER [ 'SCRIPT_NAME' ], 0, -10 ) . "/" );
?>