summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2013-11-25 17:58:36 +0000
committerkrakjoe <joe.watkins@live.co.uk>2013-11-25 17:58:36 +0000
commit19b1f7b5f988ef1c0e42f45718fc2c54c1c978a5 (patch)
treee718fd2f3bd9d2d0b748cefa154578475c5f528e
parent781bd90de338c2542594a859f00c893c7e1d6b89 (diff)
downloadphp-git-19b1f7b5f988ef1c0e42f45718fc2c54c1c978a5.tar.gz
...
-rw-r--r--phpdbg_prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index 84b1838929..5db26dbf3f 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -867,7 +867,7 @@ PHPDBG_COMMAND(source) /* {{{ */
} else {
struct stat sb;
if (VCWD_STAT(param->str, &sb) != -1) {
- phpdbg_init(param->str, param->len, 0 TSRMLS_CC);
+ phpdbg_try_file_init(param->str, param->len, 0 TSRMLS_CC);
} else phpdbg_error("Cannot stat %s", param->str);
}
} break;