aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 21d56f0..645e31f 100644
--- a/index.php
+++ b/index.php
@@ -20,7 +20,7 @@
<?php if (array_key_exists("username", $_SESSION)) { ?>
<li><?php echo $_SESSION['username'];?></li>
- <li>Sign out</li>
+ <li onclick="window.location.href='/php/logout.php'">Sign out</li>
<?php } else {?>