From 15a237b0be70c1342352f87382d0b09959b5d3b7 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 15 Aug 2018 14:16:01 +0800 Subject: [PATCH] Asset.php --- Asset.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Asset.php b/Asset.php index 84b56259..0346e349 100644 --- a/Asset.php +++ b/Asset.php @@ -144,6 +144,10 @@ class Pman_Core_Asset extends Pman { return $compile_dir; } - mkdir($compile_dir, 0700, true); + if(mkdir($compile_dir, 0700, true)) { + return $compile_dir; + } + + return false; } } -- 2.39.2