Commit Graph

77 Commits

Author SHA1 Message Date
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Hannes Magnusson
a2f63f583b Fixed bug#46811 ini_set() doesn't return false on failure 2008-12-09 10:11:21 +00:00
Scott MacVicar
3bab7c18ac Tweak last commit, should always return NULL when an entry doesn't exist. 2008-07-07 21:50:56 +00:00
Scott MacVicar
43e7784b0a Add zend_ini_string_ex so that the you can differentiate between NULL as a value and its absence, this is important for ini_get. Related to bug #42657 and #43348 2008-07-07 21:37:46 +00:00
Antony Dovgal
7b1bc753c6 MFH: add zend_atol() 2008-03-19 12:41:23 +00:00
Ilia Alshanetsky
5ea77bc64f MFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value). (Patch by: manuel at mausz dot at)
2008-03-13 16:01:31 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
bb8b632dc1 Fixed typo in the previous patch 2007-10-01 14:59:55 +00:00
Ilia Alshanetsky
086289983e Refactor code to make fixes for coverity issues #385 and #386 a bit more
obvious
2007-10-01 14:51:11 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
f6d9901873 Fixed coverity issue #470 Unitialized integer value used inside
zend_ini_boolean_displayer_cb
2007-09-27 17:26:47 +00:00
Jani Taskinen
fc0e59073e MFH:- Fixed bug #42657 (ini_get() returns incorrect value when default is NULL) 2007-09-27 17:05:23 +00:00
Jani Taskinen
6700a20e64 MFH: BC (missed from the patch :) 2007-09-27 16:59:25 +00:00
Jani Taskinen
338a12a018 MFH: Nuked unnecessary TSRMLS_FETCH() call 2007-09-27 16:55:25 +00:00
Jani Taskinen
72e7721393 MFH: missing folding tag + use Z_STR* macros 2007-09-27 16:44:27 +00:00
Jani Taskinen
7668572e26 last ws 2007-09-27 15:59:42 +00:00
Jani Taskinen
c3c0fd2819 ws 2007-09-27 15:56:49 +00:00
Jani Taskinen
c1a4cc358c MFH: ws + cs (more to follow) 2007-09-27 15:53:28 +00:00
Antony Dovgal
cecbe87656 MFH: add NULL check (coverity issue #385) and fix CS 2007-09-21 14:17:06 +00:00
Jani Taskinen
9025c2a891 - Can not remove because of the idiotic ZEND_STR*() macros 2007-09-07 14:15:17 +00:00
Jani Taskinen
2b69d18e49 - Added reminder for 5.3 2007-09-07 10:00:45 +00:00
Jani Taskinen
822400d78f - Missed this from previous commit to zend_ini.h 2007-09-07 09:59:50 +00:00
Jani Taskinen
82626c1868 MFH: - Fixed the rest of bug #41561 ( @ operator not working ) 2007-09-07 09:37:38 +00:00
Jani Taskinen
510ad20616 MFH: folding tags 2007-09-07 09:35:06 +00:00
Jani Taskinen
6066b01d1b MFH: Revert revert. 2007-08-31 07:52:29 +00:00
Antony Dovgal
8a3b3e9365 MFH: revert the patch which breaks multithreaded servers 2007-08-23 18:42:42 +00:00
Ilia Alshanetsky
32c5a87a14 Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. 2007-06-17 14:31:12 +00:00
Antony Dovgal
0ca8dab47d MFH: fix #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()) 2007-06-08 14:47:45 +00:00
Dmitry Stogov
e1814f0dbe WIN64 support 2007-04-16 08:09:56 +00:00
Antony Dovgal
a806ce9700 MFH 2007-03-06 21:08:05 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
b85f1345a6 Ensure that OnUpdateLongGEZero is greater or equal to 0.
Added a update wrapper for ensuring >0 values
2006-12-25 23:55:59 +00:00
Dmitry Stogov
a84a2eae6a Fixed bug #39344 (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry) 2006-11-08 11:04:27 +00:00
Dmitry Stogov
0c3c55edac Fixed php_admin* bypass by ini_restore() 2006-09-06 08:54:44 +00:00
Dmitry Stogov
cdb0ed7587 Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives). 2006-05-19 15:31:25 +00:00
Dmitry Stogov
14cad8fdc3 Optimized shutdown sequence to iterate only over modified ini directives 2006-05-15 14:52:35 +00:00
Andi Gutmans
61e93ccfe8 - Update copyright notices to 2006 2006-01-04 23:53:05 +00:00
Andrei Zmievski
0eabbc9f89 Fix bug #34307. We were not calling on_modify handler to set the default
value in case setting the one from .ini file failed.
2005-09-02 20:51:15 +00:00
foobar
916815b779 Bump up the year 2005-08-03 13:30:58 +00:00
Antony Dovgal
1c68938c60 - allow to use "yes" and "true" with ini_set() and in commandline (through -d flag)
- fix #15854 that was caused by wrong consideration that zend_ini_boolean_displayer_cb()
always recieves converted to "0"/"1" values.
2005-06-22 12:02:47 +00:00
Stanislav Malyshev
5ddf66e004 fix memory corruption if one on the on_modify handlers errors out 2005-04-12 13:06:39 +00:00
Zeev Suraski
1dbc47c43f Clarify logic 2005-03-14 12:53:34 +00:00
Derick Rethans
e612284ea4 - Fixed bug #30630: Added a BSD based strtod function that is
locale-independent.
2004-11-03 23:13:32 +00:00
Wez Furlong
b1667b579b Fix: ini entries for dl()'d modules now work under ZTS
Side-effect: avoid possible crashes when multiple threads load/unload
modules and mess with the global hash table.
2004-07-28 22:56:01 +00:00
Andi Gutmans
67502a2e7d - modifyable -> modifiable 2004-04-12 12:22:26 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
d53b487633 MFHZE2 2003-03-24 14:53:30 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
foobar
333406bdc2 - Added some missing CVS $Id$ tags, headers and footers. 2003-02-01 01:49:15 +00:00