1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 07:36:32 +02:00

PHP notice fix.

This commit is contained in:
CaMer0n
2012-11-01 02:27:21 +00:00
parent 7030f69f46
commit 0471eeb444

View File

@@ -58,6 +58,7 @@
*
*/
define("BAN_TYPE_LEGACY",0); // Quick fix for PHP Notice.
class eIPHandler
{
@@ -68,7 +69,7 @@ class eIPHandler
const BAN_REASON_COUNT = 7; // Update as more ban reasons added (max 10 supported)
const BAN_TYPE_LEGACY = 0; // Shouldn't get these unless update process not run
// const BAN_TYPE_LEGACY = 0; // Shouldn't get these unless update process not run
const BAN_TYPE_MANUAL = -1; /// Manually entered bans
const BAN_TYPE_FLOOD = -2; /// Flood ban
const BAN_TYPE_HITS = -3;