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

Add $SITE_URL global variable

This commit is contained in:
mul91n 2021-08-15 09:41:30 +10:00
parent 0c65194d4f
commit 56d07290c4

View File

@ -10,6 +10,7 @@ $STORE_PATH="files/"; //directory to store uploaded files in
$LOG_PATH=null; //path to log uploads + resulting links to
$DOWNLOAD_PATH="%s"; //the path part of the download url. %s = placeholder for filename
$HTTP_PROTO="https"; //protocol to use in links
$SITE_URL=site_url();
$MAX_EXT_LEN=7; //max. length for file extensions
$EXTERNAL_HOOK=null;
$AUTO_FILE_EXT=false;