forked from leftypol/leftypol
Allow php-cli to use functions.php
This commit is contained in:
parent
08fac0a0e3
commit
b00bf92e7f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
ini_set('display_errors', 1);
|
||||
}
|
||||
|
||||
if($config['ipv6_ipv4']) {
|
||||
if($config['ipv6_ipv4'] && isset($_SERVER['REMOTE_ADDR'])) {
|
||||
// Keep the original address to properly comply with other board configurations
|
||||
if(!isset($__ip))
|
||||
$__ip = $_SERVER['REMOTE_ADDR'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue