From c74fd789935e19074e2799b5201654ffe3bfce5c Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 10 Jul 2014 21:34:52 -0700 Subject: 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. --- doc/Install.md | 6 +++--- doc/faq_admins.bb | 2 +- doc/install.bb | 6 +++--- doc/problems-following-an-update.bb | 2 +- doc/red2pi.bb | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/Install.md b/doc/Install.md index 8adfe3ccd..1ff6e69e7 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -49,11 +49,11 @@ you might have trouble getting everything to work.] `git pull` - - make sure folder *view/tpl/smarty3* exists and is writable by webserver + - make sure folder *store/[data]/smarty3* exists and is writable by webserver - `mkdir view/tpl/smarty3` + `mkdir -p "store/\[data\]/smarty3"` - `chmod 777 view/smarty3` + `chmod 777 "store/\[data\]/smarty3"` - For installing addons diff --git a/doc/faq_admins.bb b/doc/faq_admins.bb index bf3364f98..1679ec246 100644 --- a/doc/faq_admins.bb +++ b/doc/faq_admins.bb @@ -17,7 +17,7 @@ Most likely, your session table has crashed. Run the MySQL command [code]repair [*][b]When I switch theme, I sometimes get elements of one theme superimposed on top of the other[/b] -a) view/tpl/smarty3 isn't writeable by the webserver. Make it so. +a) store/[data]/smarty3 isn't writeable by the webserver. Make it so. b) You're using Midori, or with certain themes, Konqueror in KHTML mode. diff --git a/doc/install.bb b/doc/install.bb index 81fc7f844..bf6578e59 100644 --- a/doc/install.bb +++ b/doc/install.bb @@ -41,11 +41,11 @@ you might have trouble getting everything to work.] `git pull` - - make sure folder *view/tpl/smarty3* exists and is writable by webserver + - make sure folder *store/[data]/smarty3* exists and is writable by webserver - `mkdir view/tpl/smarty3` + `mkdir -p "store/\[data\]/smarty3"` - `chmod 777 view/smarty3` + `chmod 777 "store/\[data\]/smarty3"` - For installing addons diff --git a/doc/problems-following-an-update.bb b/doc/problems-following-an-update.bb index bb2e07a07..0b2c2e11a 100644 --- a/doc/problems-following-an-update.bb +++ b/doc/problems-following-an-update.bb @@ -24,7 +24,7 @@ Symptoms: 2) Missing icons, tabs, menus or features. -We use the Smarty3 template engine to generate pages. These templates are compiled before they are displayed. Occasionally, a new or modified template will fail to overwrite the old compiled version. To clear the Smarty cache, delete all the files in view/tpl/smarty3/compiled [b]but do not delete the directory itself[/b]. Templates will then be recompiled on their next access. +We use the Smarty3 template engine to generate pages. These templates are compiled before they are displayed. Occasionally, a new or modified template will fail to overwrite the old compiled version. To clear the Smarty cache, delete all the files in store/[data]/smarty3/compiled [b]but do not delete the directory itself[/b]. Templates will then be recompiled on their next access. [b]Theme Issues[/b] diff --git a/doc/red2pi.bb b/doc/red2pi.bb index c29de91e9..4ca58a382 100644 --- a/doc/red2pi.bb +++ b/doc/red2pi.bb @@ -260,8 +260,8 @@ Check if you can update the addons [code]pi@pi /var/www $ cd addon/ pi@pi /var/www/addon $ sudo git pull[/code] -Make sure folder view/tpl/smarty3 exists and is writable by the webserver -[code]pi@pi /var/www $ sudo chmod ou+w view/tpl/smarty3/[/code] +Make sure folder store/[data]/smarty3 exists and is writable by the webserver +[code]pi@pi /var/www $ sudo chmod ou+w "store/\[data\]/smarty3"[/code] Create .htconfig.php and is writable by the webserver [code]pi@pi /var/www $ sudo touch .htconfig.php -- cgit v1.2.3