Commit:    e9b128c1bfb64e50c5e361959a1a7ccd176d1324
Author:    Yasuo Ohgaki <yohg...@php.net>         Sat, 10 Aug 2013 18:29:13 
+0900
Parents:   ac28283beb58b367ef1f842b5ee0d6397eb4b516
Branches:  PHP-5.4

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=e9b128c1bfb64e50c5e361959a1a7ccd176d1324

Log:
Fixed Bug #62015 Changed session.auto_start to PHP_INI_PERDIR. It is simply 
wrong and never worked if the value is changed at runtime

Bugs:
https://bugs.php.net/62015

Changed paths:
  M  ext/session/session.c


Diff:
diff --git a/ext/session/session.c b/ext/session/session.c
index bbfe90e..05e7aa6 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -733,7 +733,7 @@ PHP_INI_BEGIN()
        STD_PHP_INI_ENTRY("session.save_path",          "",          
PHP_INI_ALL, OnUpdateSaveDir,save_path,          php_ps_globals,    ps_globals)
        STD_PHP_INI_ENTRY("session.name",               "PHPSESSID", 
PHP_INI_ALL, OnUpdateName, session_name,       php_ps_globals,    ps_globals)
        PHP_INI_ENTRY("session.save_handler",           "files",     
PHP_INI_ALL, OnUpdateSaveHandler)
-       STD_PHP_INI_BOOLEAN("session.auto_start",       "0",         
PHP_INI_ALL, OnUpdateBool,   auto_start,         php_ps_globals,    ps_globals)
+       STD_PHP_INI_BOOLEAN("session.auto_start",       "0",         
PHP_INI_PERDIR, OnUpdateBool,   auto_start,         php_ps_globals,    
ps_globals)
        STD_PHP_INI_ENTRY("session.gc_probability",     "1",         
PHP_INI_ALL, OnUpdateLong,   gc_probability,     php_ps_globals,    ps_globals)
        STD_PHP_INI_ENTRY("session.gc_divisor",         "100",       
PHP_INI_ALL, OnUpdateLong,   gc_divisor,         php_ps_globals,    ps_globals)
        STD_PHP_INI_ENTRY("session.gc_maxlifetime",     "1440",      
PHP_INI_ALL, OnUpdateLong,   gc_maxlifetime,     php_ps_globals,    ps_globals)


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to