From: john Date: Wed, 15 Aug 2018 06:11:27 +0000 (+0800) Subject: Asset.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=8fb4d06cdb4aecc5cd3980f2871b62d732bda209 Asset.php --- diff --git a/Asset.php b/Asset.php index 892d6b30..85abf79a 100644 --- a/Asset.php +++ b/Asset.php @@ -130,5 +130,12 @@ class Pman_Core_Asset extends Pman { } $ui = posix_getpwuid(posix_geteuid()); + + $compiledir = session_save_path() . '/' . + $ui['name'] . '-' . $ff->project . '-' . $ff->version . '-jscompile'; + + if (!file_exists($compiledir)) { + mkdir($compiledir,0700,true); + } } }