summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 107bc67abf..99b94ed3b5 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -1907,7 +1907,7 @@ PHP_FUNCTION(copy)
RETURN_FALSE;
}
- if (php_check_open_basedir((*source)->value.str.val)) {
+ if (php_check_open_basedir((*source)->value.str.val TSRMLS_CC)) {
RETURN_FALSE;
}
@@ -1915,7 +1915,7 @@ PHP_FUNCTION(copy)
RETURN_FALSE;
}
- if (php_check_open_basedir((*target)->value.str.val)) {
+ if (php_check_open_basedir((*target)->value.str.val TSRMLS_CC)) {
RETURN_FALSE;
}