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