Adjust post_ip to support ipv6

This commit is contained in:
slawkens
2025-01-09 13:10:04 +01:00
parent 68bdec7c18
commit eb4b3ada49
3 changed files with 18 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ if (version_compare(phpversion(), '8.1', '<')) die('PHP version 8.1 or higher is
const MYAAC = true;
const MYAAC_VERSION = '1.0-RC.2';
const DATABASE_VERSION = 41;
const DATABASE_VERSION = 42;
const TABLE_PREFIX = 'myaac_';
define('START_TIME', microtime(true));
define('MYAAC_OS', stripos(PHP_OS, 'WIN') === 0 ? 'WINDOWS' : (strtoupper(PHP_OS) === 'DARWIN' ? 'MAC' : 'LINUX'));