summaryrefslogtreecommitdiff
path: root/beta_accents/app/include/ludo/session_verify.inc.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:37:30 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:37:30 +0200
commit5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (patch)
tree62cf671332976c83024139fc4c22009b382d45ff /beta_accents/app/include/ludo/session_verify.inc.php
parent34795da1b6bd714df0d5dce93558e04b2bb8a287 (diff)
download2007-AWOR-5dac82f52f45ad27f16ec2ff63ee75e2f39ef942.tar.gz
2007-AWOR-5dac82f52f45ad27f16ec2ff63ee75e2f39ef942.tar.bz2
2007-AWOR-5dac82f52f45ad27f16ec2ff63ee75e2f39ef942.zip
Renommage pour diff de beta_old1 vers beta_accents
Diffstat (limited to 'beta_accents/app/include/ludo/session_verify.inc.php')
-rw-r--r--beta_accents/app/include/ludo/session_verify.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/beta_accents/app/include/ludo/session_verify.inc.php b/beta_accents/app/include/ludo/session_verify.inc.php
new file mode 100644
index 0000000..f1cea8b
--- /dev/null
+++ b/beta_accents/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