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