]> projects.mako.cc - scuttle/blobdiff - login.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / login.php
index 38ca3606e29c16351888e1955a3897d866436ae4..8e59253b796793da5d04cf177294ae67c24d902c 100644 (file)
--- a/login.php
+++ b/login.php
@@ -19,8 +19,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
 require_once 'header.inc.php';
-$userservice     =& ServiceFactory::getServiceInstance('UserService');
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
+$sf = new ServiceFactory();
+$userservice     =& $sf->getServiceInstance('UserService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
 
 $tplVars = array();
 

Benjamin Mako Hill || Want to submit a patch?