mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix include filename of IpFilter.php
This commit is contained in:
parent
b00f8b63d1
commit
7b912d21fc
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ else
|
||||||
*/
|
*/
|
||||||
if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
|
if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
|
||||||
{
|
{
|
||||||
include_once __DIR__ . '/framework/filters/ipfilter.php';
|
include_once __DIR__ . '/framework/filters/IpFilter.php';
|
||||||
Rhymix\Framework\Filters\IpFilter::getCloudFlareRealIP();
|
Rhymix\Framework\Filters\IpFilter::getCloudFlareRealIP();
|
||||||
}
|
}
|
||||||
if (isset($_SERVER['REMOTE_ADDR']) && preg_match('/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/', $_SERVER['REMOTE_ADDR'], $matches))
|
if (isset($_SERVER['REMOTE_ADDR']) && preg_match('/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/', $_SERVER['REMOTE_ADDR'], $matches))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue