aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 29a22507..84b86998 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -22,4 +22,12 @@ raintpl::$cache_dir = './cache/';
22raintpl::$base_url = get_poche_url(); 22raintpl::$base_url = get_poche_url();
23raintpl::configure('path_replace', false); 23raintpl::configure('path_replace', false);
24raintpl::configure('debug', false); 24raintpl::configure('debug', false);
25$tpl = new raintpl(); \ No newline at end of file 25$tpl = new raintpl();
26
27session_start();
28
29if (!isset($_SESSION['token_poche'])) {
30 $token = md5(uniqid(rand(), TRUE));
31 $_SESSION['token_poche'] = $token;
32 $_SESSION['token_time_poche'] = time();
33} \ No newline at end of file