diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2011-02-01 14:01:00 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2011-02-01 14:01:00 +0000 |
| commit | baf5d66614583aa15de8b9bc1f469ec9a3b2a216 (patch) | |
| tree | 6c8da18eb54b6e6dcad89c8fe0d49259107069a9 /ext/phar/phar.c | |
| parent | 973ca132a4dd938f8400a35fa55b832f2b1f102a (diff) | |
| download | php-git-baf5d66614583aa15de8b9bc1f469ec9a3b2a216.tar.gz | |
Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist).
Diffstat (limited to 'ext/phar/phar.c')
| -rw-r--r-- | ext/phar/phar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar.c b/ext/phar/phar.c index 08b74f8665..9026be202d 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -1265,7 +1265,7 @@ int phar_open_or_create_filename(char *fname, int fname_len, char *alias, int al if (ext_len == -2) { spprintf(error, 0, "Cannot create a phar archive from a URL like \"%s\". Phar objects can only be created from local files", fname); } else { - spprintf(error, 0, "Cannot create phar '%s', file extension (or combination) not recognised", fname); + spprintf(error, 0, "Cannot create phar '%s', file extension (or combination) not recognised or the directory does not exist", fname); } } return FAILURE; |
