diff options
author | foobar <sniper@php.net> | 2005-07-29 14:29:27 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-07-29 14:29:27 +0000 |
commit | f66d5f0cc5209c1166ec4f1e64fa44998f76aa14 (patch) | |
tree | d42d46007779622f6f61d2a5fda3533405144145 /main/php_variables.c | |
parent | b325b340b7694738af6ef29872d957c1c47f74c7 (diff) | |
download | php-git-f66d5f0cc5209c1166ec4f1e64fa44998f76aa14.tar.gz |
- Fixed few logic errors in php*.ini search path creation as documented here:
http://fi.php.net/manual/en/configuration.php#configuration.file
#
# Before this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
# With this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("./php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/usr/src/php5_1_full/sapi/cli/php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
Diffstat (limited to 'main/php_variables.c')
0 files changed, 0 insertions, 0 deletions