1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

Cleaned function.

This commit is contained in:
Savetheinternet 2010-12-01 16:43:36 +11:00
parent 5c7de28ca6
commit 52acb4023f

View File

@ -7,7 +7,7 @@
session_set_cookie_params(0, JAIL_COOKIES?ROOT:'/'); session_set_cookie_params(0, JAIL_COOKIES?ROOT:'/');
// Start the session // Start the session
session_start(COOKIE_EXPIRE); session_start();
// Session creation time // Session creation time
if(!isset($_SESSION['created'])) $_SESSION['created'] = time(); if(!isset($_SESSION['created'])) $_SESSION['created'] = time();