summaryrefslogtreecommitdiff
path: root/templates/themes/ukko/info.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-04-05 16:20:59 +0200
committerczaks <marcin@6irc.net>2015-04-05 16:20:59 +0200
commit1f9e36868e82fe563028f8c35aaee3c9ba21fa23 (patch)
tree7b3ff85d2e01b350bd11543095103c7fc5af1e72 /templates/themes/ukko/info.php
parente2731113404bda42ee506e29b6927165b7576f61 (diff)
ukko: small optimization: move js creation to install time
Diffstat (limited to 'templates/themes/ukko/info.php')
-rw-r--r--templates/themes/ukko/info.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/themes/ukko/info.php b/templates/themes/ukko/info.php
index 45a687fc..9a0a53e6 100644
--- a/templates/themes/ukko/info.php
+++ b/templates/themes/ukko/info.php
@@ -49,6 +49,7 @@
function ukko_install($settings) {
if (!file_exists($settings['uri']))
@mkdir($settings['uri'], 0777) or error("Couldn't create " . $settings['uri'] . ". Check permissions.", true);
+ file_write($settings['uri'] . '/ukko.js', Element('themes/ukko/ukko.js', array()));
}
}