fixed Smarty const check
This commit is contained in:
parent
d8bcff11a7
commit
54e310b1e4
@ -1577,7 +1577,7 @@ class serendipity_plugin
|
||||
$tfile = dirname($this->pluginFile) . '/' . $filename;
|
||||
}
|
||||
|
||||
if( !SMARTY_VERSION ) {
|
||||
if( !defined('Smarty::SMARTY_VERSION') ) {
|
||||
$inclusion = $serendipity['smarty']->security_settings[@INCLUDE_ANY];
|
||||
$serendipity['smarty']->security_settings[@INCLUDE_ANY] = true;
|
||||
$content = $serendipity['smarty']->fetch('file:'. $tfile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user