aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rwxr-xr-xinclude/friendica_smarty.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php
index 12a789c9a..c2fcc4097 100755
--- a/include/friendica_smarty.php
+++ b/include/friendica_smarty.php
@@ -50,7 +50,7 @@ class FriendicaSmartyEngine implements ITemplateEngine {
public function __construct(){
$a = get_app();
$basecompiledir = ((array_key_exists('smarty3_folder',$a->config['system'])) ? $a->config['system']['smarty3_folder'] : '');
- if (!$basecompiledir) $basecompiledir = dirname(__dir__)."/view/tpl/smarty3";
+ if (!$basecompiledir) $basecompiledir = dirname(__dir__)."/store/[data]/smarty3";
if (!is_dir($basecompiledir)) {
echo "<b>ERROR:</b> folder <tt>$basecompiledir</tt> does not exist."; killme();
}