mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 21:19:58 +09:00
update to laravel 5.7 and try getting autologin saved
This commit is contained in:
4
vendor/symfony/http-foundation/IpUtils.php
vendored
4
vendor/symfony/http-foundation/IpUtils.php
vendored
@@ -37,7 +37,7 @@ class IpUtils
|
||||
*/
|
||||
public static function checkIp($requestIp, $ips)
|
||||
{
|
||||
if (!is_array($ips)) {
|
||||
if (!\is_array($ips)) {
|
||||
$ips = array($ips);
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ class IpUtils
|
||||
return self::$checkedIps[$cacheKey];
|
||||
}
|
||||
|
||||
if (!((extension_loaded('sockets') && defined('AF_INET6')) || @inet_pton('::1'))) {
|
||||
if (!((\extension_loaded('sockets') && \defined('AF_INET6')) || @inet_pton('::1'))) {
|
||||
throw new \RuntimeException('Unable to check Ipv6. Check that PHP was not compiled with option "disable-ipv6".');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user