moved to new login/logout enforcement system
parent
eceb51f7d1
commit
24b4436358
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
//ToDo: Remove dis when development izz done. Cause perfoarmance.
|
||||
%PLEAZE_NO_CACHE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
%PLEAZE_NO_CACHE%
|
||||
$id=$_GET['id'];
|
||||
|
@ -16,4 +17,4 @@ $id=$_GET['id'];
|
|||
echo "<p>EPIC FEED</p>";
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
%PLEAZE_NO_CACHE%
|
||||
$id=$_GET['id'];
|
||||
|
@ -16,4 +17,4 @@ $id=$_GET['id'];
|
|||
echo "<a href='%CONTENT_DIR%/board/post.php?id=$id'><button> Post something </button></a>";
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
%PLEAZE_NO_CACHE%
|
||||
$navbar="boards";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
%PLEAZE_NO_CACHE%
|
||||
$id=$_GET['id'];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
$navbar="boards";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
$navbar="home";
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
%FORCE_LOGOUT%
|
||||
$navbar = "logout";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
$navbar = "news";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
%SET_LOGIN_VARIABLE%
|
||||
%PLEAZE_NO_CACHE%
|
||||
|
||||
//permitted chars for password salt
|
||||
|
@ -37,6 +38,7 @@ $navbar = "verify-email";
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
//todo empty navbar
|
||||
%NAVBAR%
|
||||
<div class="container">
|
||||
<div class="item-1">
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
%PLEAZE_NO_CACHE%
|
||||
session_start();
|
||||
%SET_LOGIN_VARIABLE%
|
||||
//Todo: make this a setting for users that use VPNs/Proxies and seem to jump around the world rather quickly...
|
||||
%NO_CHEAP_SESSION_STEALING%
|
||||
|
||||
|
|
Loading…
Reference in New Issue