only use Smarty if the view/smarty3/ directory is writable; location bug fix

This commit is contained in:
Zach Prezkuta 2012-12-23 06:16:35 -07:00
commit 53a4cf5339
20 changed files with 34 additions and 19 deletions

View file

@ -8,7 +8,7 @@
* Maintainer: Mike Macgirvin <mike@macgirvin.com>
*/
$a->theme['template_engine'] = 'smarty3';
set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT
<script>