// Default Smarty Engine will be used @define('SMARTY_DIR', S9Y_PEAR_PATH . 'Smarty/libs/');
if (!class_exists('Smarty')) { include SMARTY_DIR . 'Smarty.class.php';
}
And obvious croak while trying to run.
What about moving SMARTY_DIR definition somewhere outside? Say, to /etc/serendipity/something
BTW, serendipity does not dpkg-depend on smarty at the moment. Maybe it should?
me too ;-)
$ file /usr/share/ serendipity/ www/bundled- libs/Smarty
/usr/share/ serendipity/ www/bundled- libs/Smarty: symbolic link to `../../ ../php/ smarty'
$ ls /usr/share/ serendipity/ www/bundled- libs/Smarty/ libs/
plugins
$ grep -2 SMARTY_DIR /usr/share/ serendipity/ www/include/ functions_ smarty. inc.php
// Default Smarty Engine will be used
@define( 'SMARTY_ DIR', S9Y_PEAR_PATH . 'Smarty/libs/'); exists( 'Smarty' )) {
include SMARTY_DIR . 'Smarty.class.php';
if (!class_
}
And obvious croak while trying to run.
What about moving SMARTY_DIR definition somewhere outside? Say, to /etc/serendipit y/something
BTW, serendipity does not dpkg-depend on smarty at the moment. Maybe it should?