mirror of
https://github.com/AlexKrunch/AnonIB-3D.git
synced 2024-11-13 00:26:56 -05:00
51 lines
1.5 KiB
PHP
51 lines
1.5 KiB
PHP
<?php
|
|
|
|
/*
|
|
|
|
______ __ __
|
|
/ ____/___ ____ _____/ /_____ _____ / /______
|
|
/ / / __ \/ __ \/ ___/ __/ __ `/ __ \/ __/ ___/
|
|
/ /___/ /_/ / / / (__ ) /_/ /_/ / / / / /_(__ )
|
|
\____/\____/_/ /_/____/\__/\__,_/_/ /_/\__/____/
|
|
|
|
List of constant of the server, helping to make the database files hard to find
|
|
|
|
*/
|
|
|
|
//FOLDERS & DB
|
|
class Constants {
|
|
|
|
const CONST_DB_FOLDER = "data";
|
|
const CONST_CONFIG_FOLDER = "config";
|
|
const CONST_MAP_FOLDER = "maps";
|
|
|
|
const CONST_TABLE_CHANS = "chans";
|
|
const CONST_TABLE_POSTS = "posts";
|
|
const CONST_TABLE_LOGS = "logs";
|
|
const CONST_TABLE_MAP = "maps";
|
|
const CONST_TABLE_ITEMS = "items";
|
|
const CONST_TABLE_LOOT = "loot";
|
|
const CONST_TABLE_THREADS = "threads";
|
|
const CONST_TABLE_BANS = "bans";
|
|
const CONST_TABLE_FILES = "files";
|
|
const CONST_TABLE_PLAYERS = "players";
|
|
const CONST_TABLE_THREADS_TOP = "threads_top";
|
|
const CONST_NUM_THREAD_MAX = 100;
|
|
const CONST_FILES_EXT_ERROR = "Only image extension and mp3 are allowed.";
|
|
const CONST_FILES_MAX_SIZE = 25097152;
|
|
const CONST_FILES_MAX_SIZE_ERROR = 'File size cannot exceed 25 MB';
|
|
const CONST_FILES_MAX_NUM = 5;
|
|
|
|
const CONST_PASSWORD_FOLDER = "password";
|
|
const CONST_PASSWORD_FILE = "password.txt";
|
|
|
|
const SITE_TORRENT_DESC = "AnonIB💀3D, by AElx Krunch https://twitter.com/alexkrunch";
|
|
|
|
const CONST_IMAGE_UPLOAD_FOLDER = "uploads";
|
|
const CONST_IMAGE_PREVIEW_FOLDER = "previews";
|
|
const CONST_IMAGE_SALT = "SnUffCh4N";
|
|
|
|
|
|
const CONST_MAP_ALPHA_NAME = "alpha";
|
|
|
|
} |