mirror of
https://github.com/Rouji/single_php_filehost.git
synced 2025-04-05 00:49:33 +00:00
Add $SITE_URL global variable
This commit is contained in:
parent
0c65194d4f
commit
56d07290c4
@ -10,6 +10,7 @@ $STORE_PATH="files/"; //directory to store uploaded files in
|
|||||||
$LOG_PATH=null; //path to log uploads + resulting links to
|
$LOG_PATH=null; //path to log uploads + resulting links to
|
||||||
$DOWNLOAD_PATH="%s"; //the path part of the download url. %s = placeholder for filename
|
$DOWNLOAD_PATH="%s"; //the path part of the download url. %s = placeholder for filename
|
||||||
$HTTP_PROTO="https"; //protocol to use in links
|
$HTTP_PROTO="https"; //protocol to use in links
|
||||||
|
$SITE_URL=site_url();
|
||||||
$MAX_EXT_LEN=7; //max. length for file extensions
|
$MAX_EXT_LEN=7; //max. length for file extensions
|
||||||
$EXTERNAL_HOOK=null;
|
$EXTERNAL_HOOK=null;
|
||||||
$AUTO_FILE_EXT=false;
|
$AUTO_FILE_EXT=false;
|
||||||
|
Loading…
Reference in New Issue
Block a user