mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-12-01 21:15:20 +08:00
Cache/Fixup
* fix cache collision on list pages caused by improper encoding of category * fix cache key not encoding category values of int: 0 * version bump to flush caches
This commit is contained in:
@@ -6,7 +6,7 @@ mb_internal_encoding('UTF-8');
|
||||
error_reporting(E_ALL);
|
||||
mysqli_report(MYSQLI_REPORT_ERROR);
|
||||
|
||||
define('AOWOW_REVISION', 42);
|
||||
define('AOWOW_REVISION', 43);
|
||||
define('OS_WIN', substr(PHP_OS, 0, 3) == 'WIN'); // OS_WIN as per compile info of php
|
||||
define('CLI', PHP_SAPI === 'cli');
|
||||
define('CLI_HAS_E', CLI && // WIN10 and later usually support ANSI escape sequences
|
||||
|
||||
Reference in New Issue
Block a user