Yasuo Ohgaki
e17161443a
Avoid defining/using S_ISDIR macro.
2002-04-19 05:48:22 +00:00
Sebastian Bergmann
c2dd85ce15
Patch by Marcus Börger.
2002-04-17 17:25:18 +00:00
Marcus Boerger
7bb4b5bd76
fix cli/cgi -c <path>|<file>
...
#hope this fixes it really (works for me)
2002-04-16 19:08:02 +00:00
Yasuo Ohgaki
3381fe4394
Fix cli/cgi -c option
...
# I must be sleeping
2002-04-13 14:12:17 +00:00
Yasuo Ohgaki
439b56842f
CGI/CLI take file and dir for -c option by this.
...
@ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
2002-04-12 00:20:29 +00:00
Frank M. Kromann
46a7b0cf61
Killing compiler warning on Win32
2002-03-05 00:21:28 +00:00
Sascha Schumann
b4d5aa5c50
Supply php_html_puts which escapes a whole string.. now fully works in ZTS
...
mode, too.
2002-03-04 18:46:55 +00:00
Edin Kadribasic
ab2564053f
Removed CWD from php_ini_search_path when using CLI SAPI.
2002-02-28 12:12:39 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sterling Hughes
b91a66699c
Z_TYPE(filehandle)?? ok.. whatever... ;)
2001-11-26 18:57:44 +00:00
Derick Rethans
2830e45fe7
- Applied patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>
2001-11-01 10:57:49 +00:00
Derick Rethans
a0bbfb590c
- <br> -> <br />
2001-10-06 20:13:39 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Rasmus Lerdorf
00ef03186e
This is a list of char *'s, not zvals (caught by Nick - see bug #13107 )
2001-09-03 18:58:00 +00:00
foobar
001df0d028
Yet another TSRM fix.
2001-08-07 20:13:54 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
2ec440078a
Get rid of a couple of bogus persist_alloc()'s, and some cleanup
2001-08-03 07:15:14 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Sebastian Bergmann
e4f109b69f
Finish phpinfo() HTML 4.01 tweaking.
2001-06-19 15:21:28 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
foobar
9d1817ed7f
Fix bug: #10323 . Every value outputted is now escaped.
2001-05-06 15:20:56 +00:00
Frank M. Kromann
0be5cca176
Fix build on WIn32
...
Should the new directorys be static?
2001-04-23 17:33:22 +00:00
Stig Bakken
2cf1b8d345
* expanded the following constants and made them available in PHP:
...
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Andi Gutmans
a6f90ec7c6
- Get rid of warning.
2001-04-21 11:40:04 +00:00
Zeev Suraski
9db5589161
Recode delayed loading in a much simpler way (switched back to php_ini.c 1.49)
2001-03-17 23:35:32 +00:00
Stanislav Malyshev
7c2ea02288
Don't insert empty path if PHPRC is empty
2001-03-06 11:38:55 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Stanislav Malyshev
2b45f38ec9
Add safety check
2001-02-21 15:20:29 +00:00
Hartmut Holzgraefe
5b741dfb58
# make sebastian and compiler happy .)
2001-02-21 11:16:16 +00:00
Hartmut Holzgraefe
b14d2cc0dc
will now initialize dynamic extensions *after* static ones
2001-02-21 01:43:15 +00:00
Zeev Suraski
d294f46f5a
- Remove the ini_extension_list global
...
- Switch to delayed loading of Zend extensions
2001-01-15 10:52:02 +00:00
Sascha Schumann
db0b8bc05b
Defer loading of extensions until all configuration entries have been
...
added to the configuration hash.
2001-01-15 03:21:05 +00:00
Zeev Suraski
fc1cdda10d
Remove stale code
2001-01-13 13:10:50 +00:00
Zeev Suraski
bd0ac7fe14
Many patches. I hope I remember them all:
...
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
2001-01-02 22:49:31 +00:00
Zeev Suraski
338b9b0819
- Make the INI mechanism thread safe (fix necessary API changes from Zend)
...
- Make the Win32 non-TS configuration build again
2000-12-27 15:43:05 +00:00
Zeev Suraski
92d37f688e
- Fix phpinfo()
...
- Fix non-thread-safe build
2000-10-31 16:06:46 +00:00
Zeev Suraski
78194a47b7
- Complete the move to the new INI parser. (Side effect: at last, people
...
can finally have spaces and tabs in their extension statements...)
2000-10-30 23:39:14 +00:00
Zeev Suraski
4af433d627
Use the new INI parser for parse_ini_str()
...
- parse_ini_str() is now thread-safe, and supported under Windows (Zeev)
2000-10-29 22:42:01 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Zeev Suraski
b7ecaacd07
More security-related (control) patches:
...
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
2000-09-09 15:02:15 +00:00
Zeev Suraski
12adebbc3a
- Fix leak
...
- Remove redundant php_ini code
2000-09-05 21:18:00 +00:00
Sascha Schumann
8e0ae5d152
Cleaning up some mess
2000-08-21 09:50:53 +00:00
Zeev Suraski
168ccfc133
Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
...
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)
2000-07-11 14:29:38 +00:00
Zeev Suraski
d1f1d40527
- Make the INI entries sorted in phpinfo()
2000-06-03 03:05:29 +00:00