From 79a048122657c35c764efcedabcd5c57a862444b Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Sat, 20 Aug 2016 12:54:28 +0000 Subject: [PATCH] file : if file_exists is used, a missing parent directory doesn't generate an exception git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3001 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- file.php | 1 + 1 file changed, 1 insertion(+) diff --git a/file.php b/file.php index 9407088..199f477 100644 --- a/file.php +++ b/file.php @@ -518,6 +518,7 @@ class file if (! file_exists ($path)) { $this->debug (1, "checkPathRO ($path) => Path '$path' not found"); + return $this->checkExternalPathRO ($path); throw new \Exception (sprintf (dgettext ("domframework", "Path '%s' not found"), $path), 404);