[mw-devel] MW3 r1377 - trunk/webclient

arthur at sucs.org arthur at sucs.org
Tue Feb 10 13:33:43 GMT 2015


Author: arthur
Date: 2015-02-10 13:33:43 +0000 (Tue, 10 Feb 2015)
New Revision: 1377

Modified:
   trunk/webclient/index.php
Log:
assign_by_ref is deprecated


Modified: trunk/webclient/index.php
===================================================================
--- trunk/webclient/index.php	2015-02-10 13:27:23 UTC (rev 1376)
+++ trunk/webclient/index.php	2015-02-10 13:33:43 UTC (rev 1377)
@@ -28,7 +28,7 @@
 	if (@$_REQUEST['sucssite_loggedin']=="true" && $action!="logout") {
 		require("startup.php");
 	} else {
-		$smarty->assign_by_ref("body", $smarty->fetch("login.html"));
+		$smarty->assign("body", $smarty->fetch("login.html"));
 		$smarty->display("main.html");
 		exit;
 	}
@@ -36,7 +36,7 @@
 
 $session = unserialize($mwsess);
 
-$smarty->assign_by_ref("body", $smarty->fetch("front.html"));
+$smarty->assign("body", $smarty->fetch("front.html"));
 $smarty->display("main.html");
 
 ?>




More information about the mw-devel mailing list