summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-23 13:43:57 +0300
committerAndrew Dolgov <[email protected]>2018-08-23 13:43:57 +0300
commit1da0818188722cb21ccc2cbccac8d9ceeb470187 (patch)
tree9843e027317ec81ff88f37ca5d2663fb5865fb93 /include
parenta3e2f1a9c3b7fa5688f908bd0aa9ed4c6c539953 (diff)
parentf3068c6397aee3533f8a3f8b862281bea5b04278 (diff)
Merge branch 'master' into dojo-module-define-testdojo-module-define-test
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index f03ed3a91..453f329b4 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -2601,6 +2601,9 @@
should be loaded systemwide in config.php */
function send_local_file($filename) {
if (file_exists($filename)) {
+
+ if (is_writable($filename)) touch($filename);
+
$tmppluginhost = new PluginHost();
$tmppluginhost->load(PLUGINS, PluginHost::KIND_SYSTEM);