aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-10 21:34:52 -0700
committerfriendica <info@friendica.com>2014-07-10 21:34:52 -0700
commitc74fd789935e19074e2799b5201654ffe3bfce5c (patch)
tree4778b979ba14b16b2b994c1ee8279ee133ecf060 /install/update.php
parentf2c54cfcaf9d154970a4a4c99384e267f8699022 (diff)
downloadvolse-hubzilla-c74fd789935e19074e2799b5201654ffe3bfce5c.tar.gz
volse-hubzilla-c74fd789935e19074e2799b5201654ffe3bfce5c.tar.bz2
volse-hubzilla-c74fd789935e19074e2799b5201654ffe3bfce5c.zip
move smarty compiled files to store/[data]/smarty3 - which puts all writeable areas of the server except the config file and logs under the "store" directory. We'll do logs at a future time.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/install/update.php b/install/update.php
index 60e8497dc..3d4ed2cf9 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1116 );
+define( 'UPDATE_VERSION' , 1117 );
/**
*
@@ -995,7 +995,7 @@ ADD INDEX ( `menu_flags` )");
}
function update_r1091() {
- @mkdir('store/[data]/smarty',STORAGE_DEFAULT_PERMISSIONS,true);
+ @mkdir('store/[data]/smarty3',STORAGE_DEFAULT_PERMISSIONS,true);
@file_put_contents('store/[data]/locks','');
return UPDATE_SUCCESS;
}
@@ -1298,4 +1298,9 @@ function update_r1115() {
$r = q("update account set account_flags = (account_flags ^ 1) where (account_flags & 1) ");
return UPDATE_SUCCESS;
-} \ No newline at end of file
+}
+
+function update_r1116() {
+ @mkdir('store/[data]/smarty3',STORAGE_DEFAULT_PERMISSIONS,true);
+ return UPDATE_SUCCESS;
+} \ No newline at end of file