mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
Update function calls where moved from e107_class.php to iphandler_class.php
This commit is contained in:
@@ -36,7 +36,7 @@ if (!check_class($pref['subnews_class']))
|
||||
|
||||
if (isset($_POST['submitnews_submit']) && $_POST['submitnews_title'] && $_POST['submitnews_item'])
|
||||
{
|
||||
$ip = $e107->getip();
|
||||
$ip = e107::getIPHandler()->getIP(FALSE);
|
||||
$fp = new floodprotect;
|
||||
if ($fp->flood("submitnews", "submitnews_datestamp") == FALSE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user