1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-04 16:39:34 +00:00

format config a bit

also explain AUTO_FILE_EXT and EXTERNAL_HOOK
This commit is contained in:
Rouji 2021-08-29 23:06:47 +02:00
parent c91f55d22b
commit 11a2ff253f

View File

@ -12,8 +12,8 @@ class CONFIG
const LOG_PATH = null; //path to log uploads + resulting links to
const DOWNLOAD_PATH = '%s'; //the path part of the download url. %s = placeholder for filename
const MAX_EXT_LEN = 7; //max. length for file extensions
const EXTERNAL_HOOK=null;
const AUTO_FILE_EXT=false;
const EXTERNAL_HOOK = null; //external program to call for each upload
const AUTO_FILE_EXT = false; //automatically try to detect file extension for files that have none
const ADMIN_EMAIL = 'admin@example.com'; //address for inquiries