Subversion Repositories SmartDukaan

Rev

Rev 10632 | Rev 11379 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10632 Rev 11355
Line 16... Line 16...
16
 *     production
16
 *     production
17
 *
17
 *
18
 * NOTE: If you change these, also change the error_reporting() code below
18
 * NOTE: If you change these, also change the error_reporting() code below
19
 *
19
 *
20
 */
20
 */
-
 
21
	// Change the session timeout value to 30 minutes  // 8*60*60 = 8 hours
-
 
22
		ini_set('session.gc_maxlifetime', 8*24*60*60);
-
 
23
	//————————————————————————————–
-
 
24
 
-
 
25
// php.ini setting required for session timeout.
-
 
26
 
-
 
27
		ini_set('session.gc_maxlifetime',8*24*60*60);
-
 
28
		ini_set('session.gc_probability',1);
-
 
29
		ini_set('session.gc_divisor',1);
-
 
30
 
-
 
31
//if you want to change the  session.cookie_lifetime.
-
 
32
//This required in some common file because to get the session values in whole application we need to        write session_start();  to each file then only will get $_SESSION global variable values.
-
 
33
 
-
 
34
		$sessionCookieExpireTime=8*24*60*60;
-
 
35
		session_set_cookie_params($sessionCookieExpireTime);
21
	define('ENVIRONMENT', 'production');
36
		define('ENVIRONMENT', 'production');
22
/*
37
/*
23
 *---------------------------------------------------------------
38
 *---------------------------------------------------------------
24
 * ERROR REPORTING
39
 * ERROR REPORTING
25
 *---------------------------------------------------------------
40
 *---------------------------------------------------------------
26
 *
41
 *