Code: Select all
$serendipity_directory = '/var/www/localhost/htdocs/serendipity/';
define('S9Y_INCLUDE_PATH', $serendipity_directory);
include_once(S9Y_INCLUDE_PATH . 'serendipity_config.inc.php');
include_once(S9Y_INCLUDE_PATH . 'include/functions.inc.php');
serendipity_smarty_init();
$entries = serendipity_fetchEntries( null, true, 5 );
Anyone have any other ideas how I can do this now?