diff options
author | Antony Dovgal <tony2001@php.net> | 2010-05-25 19:19:45 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2010-05-25 19:19:45 +0000 |
commit | 8d640749519996dbfd8d9a69774eae8379f1f6c5 (patch) | |
tree | 6a515a771c94edd04e82d577744e863a406668dc /main | |
parent | 954e7db6441ddc9d6cd783b8b655981f590e6413 (diff) | |
download | php-git-8d640749519996dbfd8d9a69774eae8379f1f6c5.tar.gz |
use correct condition in the if
Diffstat (limited to 'main')
-rw-r--r-- | main/fopen_wrappers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h index 3136ee89d4..873175b1de 100644 --- a/main/fopen_wrappers.h +++ b/main/fopen_wrappers.h @@ -34,7 +34,7 @@ PHPAPI int php_check_open_basedir_ex(const char *path, int warn TSRMLS_DC); PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path TSRMLS_DC); /* {{{ OPENBASEDIR_CHECKPATH(filename) to ease merge between 6.x and 5.x */ -#if (PHP_MAJOR_VERSION < 6) +#if PHP_API_VERSION < 20100412 # define OPENBASEDIR_CHECKPATH(filename) \ (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC) #else |