diff --git a/includes/redirect.html b/includes/redirect.html index 82def3e..218b8dc 100644 --- a/includes/redirect.html +++ b/includes/redirect.html @@ -5,18 +5,22 @@
-

You will be redirected to ... in 5

+

You will be redirected to in 5

diff --git a/index.php b/index.php index 4a61cf5..6452758 100644 --- a/index.php +++ b/index.php @@ -60,7 +60,7 @@ elseif ( isset ( $_GET [ 'logout' ] ) ) { $_SESSION = array ( ); session_destroy ( ); - header ( "Location: /" ); + header ( "Location: " . $_SERVER [ 'SCRIPT_NAME' ] ); } else { if ( ! isset ( $_SESSION [ 'user_id' ] ) ) { @@ -77,6 +77,7 @@
+ Insert new URL
+