summaryrefslogtreecommitdiff
path: root/ext/dbase/dbase.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dbase/dbase.c')
-rw-r--r--ext/dbase/dbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c
index c9d870a61c..8394720fec 100644
--- a/ext/dbase/dbase.c
+++ b/ext/dbase/dbase.c
@@ -132,7 +132,7 @@ PHP_FUNCTION(dbase_open) {
RETURN_FALSE;
}
- if (php_check_open_basedir(dbf_name->value.str.val)) {
+ if (php_check_open_basedir(dbf_name->value.str.val TSRMLS_CC)) {
RETURN_FALSE;
}
@@ -599,7 +599,7 @@ PHP_FUNCTION(dbase_create) {
RETURN_FALSE;
}
- if (php_check_open_basedir(Z_STRVAL_P(filename))) {
+ if (php_check_open_basedir(Z_STRVAL_P(filename) TSRMLS_CC)) {
RETURN_FALSE;
}