Fix some issues with secure cookies being overwritten by insecure site.

Now, /publish/{edit,addeditor,login,logout} must be accessed via
https://; other pages should not be (but can be).
This commit is contained in:
tim
2014-04-24 09:56:25 +02:00
parent 7fc40728f5
commit a00c1b4c9d
7 changed files with 41 additions and 18 deletions
+1
View File
@@ -1,4 +1,5 @@
<div id="bottom"><p>
All stories and submissions <a class="whitefont" href="about">&copy;</a> 2003&ndash;<? echo gmdate("Y"); ?> their respective authors.
</p></div>
<? $_SESSION['referrer'] = $_SERVER['REQUEST_URI']; ?>
<? include_once('google.inc.php'); ?>