]> granicus.if.org Git - php/commitdiff
- Missed a space
authorAndi Gutmans <andi@php.net>
Wed, 30 Aug 2000 20:32:29 +0000 (20:32 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 30 Aug 2000 20:32:29 +0000 (20:32 +0000)
main/fopen_wrappers.c

index 21674d57eb6e773e3bcfa3dda0f531a56c066243..0eb01397ee301c7393864b8bd61aeb7a6e55e4e7 100644 (file)
@@ -413,7 +413,7 @@ PHPAPI FILE *php_fopen_with_path(char *filename, char *mode, char *path, char **
 #else
        if (IS_SLASH(*filename)) {
 #endif
-               if (PG(safe_mode)&& PG(doc_root)) {
+               if (PG(safe_mode) && PG(doc_root)) {
                        snprintf(trypath, MAXPATHLEN, "%s%s", PG(doc_root), filename);
                        if (!php_checkuid(trypath, mode, 0)) {
                                return NULL;