require_once 'header.inc.php';
-$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService');
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
-$userservice =& ServiceFactory::getServiceInstance('UserService');
-$cacheservice =& ServiceFactory::getServiceInstance('CacheService');
+$sf = new ServiceFactory();
+$bookmarkservice =& $sf->getServiceInstance('BookmarkService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice =& $sf->getServiceInstance('UserService');
+$cacheservice =& $sf->getServiceInstance('CacheService');
$tplVars = array();
// Cache output if existing copy has expired
$cacheservice->End($cachehash);
}
-?>
\ No newline at end of file
+?>