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.

This commit is contained in:
friendica
2014-07-10 21:34:52 -07:00
parent f2c54cfcaf
commit c74fd78993
11 changed files with 37 additions and 32 deletions

View File

@@ -17,9 +17,9 @@ $s = new Smarty();
$s->setTemplateDir($folders);
$s->setCompileDir('view/tpl/smarty3/compiled/');
$s->setConfigDir('view/tpl/smarty3/config/');
$s->setCacheDir('view/tpl/smarty3/cache/');
$s->setCompileDir(TEMPLATE_BUILD_PATH . '/compiled/');
$s->setConfigDir(TEMPLATE_BUILD_PATH . '/config/');
$s->setCacheDir(TEMPLATE_BUILD_PATH . '/cache/');
$s->left_delimiter = "{{";
$s->right_delimiter = "}}";