parent
0fd299adf2
commit
2970ac60a6
@ -58,6 +58,9 @@ Version 2.1 ()
|
||||
Version 2.0.2 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Implement patch to properly initiate templates_c on installation
|
||||
for shared installs (thanks to fugue88)
|
||||
|
||||
* Allow templatechooser plugin to read a custom "blacklist.txt"
|
||||
within its directory, that can blacklist certain themes from
|
||||
being selected.
|
||||
|
@ -146,7 +146,11 @@ class Serendipity_Smarty extends Smarty
|
||||
|
||||
$this->setTemplateDir($template_dirs);
|
||||
|
||||
$this->setCompileDir($serendipity['serendipityPath'] . PATH_SMARTY_COMPILE);
|
||||
if (defined('S9Y_DATA_PATH')) {
|
||||
$this->setCompileDir(S9Y_DATA_PATH . PATH_SMARTY_COMPILE);
|
||||
} else {
|
||||
$this->setCompileDir($serendipity['serendipityPath'] . PATH_SMARTY_COMPILE);
|
||||
}
|
||||
|
||||
$this->setConfigDir(array(S9Y_TEMPLATE_USERDEFAULT));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user