Comment 2 for bug 222771

Revision history for this message
Mekk (marcin-kasperski) wrote :

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/');
            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?