summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-04-26 23:55:03 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-04-26 23:55:03 +0000
commitcb3033080017e05ae7843859f993517252e67e31 (patch)
tree675f409de0e4180a660cfe03df518c06aa18d847 /ext/pdo_mysql/mysql_driver.c
parent64f372fae2876a197996a1753d3659d8fa9d0bb4 (diff)
downloadphp-git-cb3033080017e05ae7843859f993517252e67e31.tar.gz
Merge safe_mode changes into extensions that are in sync in both branches
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index 1bb6d2a74f..be500da886 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -649,7 +649,7 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
goto cleanup;
}
-#if PHP_MAJOR_VERSION < 6
+#if PHP_API_VERSION < 20100412
if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode))
#else
if (PG(open_basedir) && PG(open_basedir)[0] != '\0')