From 46c246b5ffb5bcea6a962cbf446f2906c208f0e7 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Mon, 18 Dec 2017 23:41:57 +0800 Subject: [PATCH] Add empty "plugins" dir when packaging --- gulpfile.js | 1 + index.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 95df88d6..4f850954 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -190,6 +190,7 @@ gulp.task('zip', () => { '!composer.*', '!yarn.lock', '!plugins/**', + 'plugins/', '!phpunit.xml', '!package.json', '!{tests,tests/**}', diff --git a/index.php b/index.php index e2bb033e..d6764d43 100755 --- a/index.php +++ b/index.php @@ -22,7 +22,7 @@ require __DIR__.'/bootstrap/autoload.php'; // Check the runtime environment runtime_check(array( 'extensions' => array('pdo_mysql', 'openssl', 'gd', 'mbstring', 'tokenizer'), - 'write_permission' => array('storage', 'resources', 'plugins') + 'write_permission' => array('storage', 'plugins') )); // Process the request