Asset.php
authorjohn <john@roojs.com>
Wed, 15 Aug 2018 06:16:01 +0000 (14:16 +0800)
committerjohn <john@roojs.com>
Wed, 15 Aug 2018 06:16:01 +0000 (14:16 +0800)
Asset.php

index 84b5625..0346e34 100644 (file)
--- 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;
     }
 }