summaryrefslogtreecommitdiff
path: root/final/app/include/ludo/session_verify.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'final/app/include/ludo/session_verify.inc.php')
-rw-r--r--final/app/include/ludo/session_verify.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/final/app/include/ludo/session_verify.inc.php b/final/app/include/ludo/session_verify.inc.php
new file mode 100644
index 0000000..f1cea8b
--- /dev/null
+++ b/final/app/include/ludo/session_verify.inc.php
@@ -0,0 +1,9 @@
+<?php
+session_start();
+if ( ! isset($_SESSION['session_loginP']) )
+{
+ require('redir.inc.php');
+ $dest='auth_dialog.php?retour=' . $_SERVER['PHP_SELF'];
+ html_redir($dest);
+}
+?> \ No newline at end of file