1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

LOCALHOST_IP is e107 class constant now

This commit is contained in:
secretr
2009-11-24 16:41:10 +00:00
parent ceef744e8c
commit 0e2011cff5
2 changed files with 11 additions and 8 deletions

View File

@@ -9,9 +9,9 @@
* User signup
*
* $Source: /cvs_backup/e107_0.8/signup.php,v $
* $Revision: 1.44 $
* $Date: 2009-11-22 23:36:23 $
* $Author: e107coders $
* $Revision: 1.45 $
* $Date: 2009-11-24 16:41:10 $
* $Author: secretr $
*
*/
@@ -441,7 +441,7 @@ if (isset($_POST['register']))
// check for multiple signups from the same IP address. But ignore localhost
if ($allData['user_ip'] != LOCALHOST_IP)
if ($allData['user_ip'] != e107::LOCALHOST_IP)
{
if($ipcount = $sql->db_Select('user', '*', "user_ip='".$allData['user_ip']."' and user_ban !='2' "))
{