Revision: 10266
http://sourceforge.net/p/xoops/svn/10266
Author: beckmi
Date: 2012-11-21 05:34:42 +0000 (Wed, 21 Nov 2012)
Log Message:
-----------
Updating for compatibility with PHP 5.4
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.6/htdocs/install/include/functions.php
XoopsCore/branches/2.5.x/2.5.6/htdocs/install/language/english/install.php
Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/install/include/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.6/htdocs/install/include/functions.php 2012-11-21 05:10:08 UTC (rev 10265)
+++ XoopsCore/branches/2.5.x/2.5.6/htdocs/install/include/functions.php 2012-11-21 05:34:42 UTC (rev 10266)
@@ -28,7 +28,7 @@
if ($hash_login != md5($user->getVar('pass') . XOOPS_DB_NAME . XOOPS_DB_PASS . XOOPS_DB_PREFIX)) {
return false;
}
- $myts =& MyTextsanitizer::getInstance();
+ $myts = MyTextsanitizer::getInstance();
if (is_object($GLOBALS['xoops']) && method_exists($GLOBALS['xoops'], 'acceptUser')) {
$res = $GLOBALS['xoops']->acceptUser($uname, true, $msg);
return $res;
@@ -51,7 +51,7 @@
function xoFormField( $name, $value, $label, $help = '' )
{
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$label = $myts->htmlspecialchars($label, ENT_QUOTES, _INSTALL_CHARSET, false);
$name = $myts->htmlspecialchars($name, ENT_QUOTES, _INSTALL_CHARSET, false);
$value = $myts->htmlspecialchars($value, ENT_QUOTES);
@@ -68,7 +68,7 @@
function xoPassField($name, $value, $label, $help = '')
{
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$label = $myts->htmlspecialchars( $label, ENT_QUOTES, _INSTALL_CHARSET, false);
$name = $myts->htmlspecialchars( $name, ENT_QUOTES, _INSTALL_CHARSET, false);
$value = $myts->htmlspecialchars( $value, ENT_QUOTES );
@@ -259,7 +259,7 @@
return "";
}
- $myts =& MyTextSanitizer::getInstance();
+ $myts = MyTextSanitizer::getInstance();
$label = $myts->htmlspecialchars($label, ENT_QUOTES, _INSTALL_CHARSET, false);
$name = $myts->htmlspecialchars($name, ENT_QUOTES, _INSTALL_CHARSET, false);
$value = $myts->htmlspecialchars($value, ENT_QUOTES);
@@ -315,7 +315,7 @@
ksort($chars);
$charsets = array_merge($charsets, $chars);
- $myt |