diff options
Diffstat (limited to 'ext/standard/exec.c')
| -rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index e9bcd86b9f..f83ca07f19 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -72,7 +72,7 @@ static int php_make_safe_mode_command(char *cmd, char **safecmd TSRMLS_DC) larg0 = strlen(arg0); if (strstr(arg0, "..")) { - php_error(E_WARNING, "No '..' components allowed in path"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "No '..' components allowed in path"); efree(arg0); return FAILURE; } |
