aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/INSTALL.txt8
-rw-r--r--install/update.php11
2 files changed, 11 insertions, 8 deletions
diff --git a/install/INSTALL.txt b/install/INSTALL.txt
index 6080ff6c7..946e83ca3 100644
--- a/install/INSTALL.txt
+++ b/install/INSTALL.txt
@@ -94,13 +94,11 @@ directory/path component in the URL) is REQUIRED.
git pull
- - make sure folders *view/tpl/smarty3* and *store* exist and are writable by webserver
+ - make sure folders *store/[data]/smarty3* and *store* exist and are writable by webserver
- mkdir view/tpl/smarty3
- mkdir store
+ mkdir -p "store/\[data\]/smarty3"
- chmod 777 view/tpl/smarty3
- chmod 777 store
+ chmod -R 777 store
[This permission (777) is very dangerous and if you have sufficient
privilege and knowledge you should make this directory writeable only
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