1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 13:52:35 +02:00

Make LANs for user.php distinct

This commit is contained in:
e107steved
2008-12-20 20:19:05 +00:00
parent 56b4721328
commit 3e79faf124
4 changed files with 178 additions and 120 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/xml_class.php,v $
| $Revision: 1.9 $
| $Date: 2008-12-02 20:14:47 $
| $Revision: 1.10 $
| $Date: 2008-12-20 20:18:59 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -84,7 +84,7 @@ class xmlClass
$remote = @fopen($address, "r");
if(!$remote)
{
$this -> error = "fopen: Unable to open remote XML file.";
$this -> error = "fopen: Unable to open remote XML file: ".$address;
return FALSE;
}
}
@@ -94,7 +94,7 @@ class xmlClass
$tmp = parse_url($address);
if(!$remote = fsockopen ($tmp['host'], 80 ,$errno, $errstr, $timeout))
{
$this -> error = "Sockets: Unable to open remote XML file.";
$this -> error = "Sockets: Unable to open remote XML file: ".$address;
return FALSE;
}
else