From 56d07290c490150917f0e7b17501327055637b68 Mon Sep 17 00:00:00 2001 From: mul91n Date: Sun, 15 Aug 2021 09:41:30 +1000 Subject: [PATCH] Add $SITE_URL global variable --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 082ae01..c817b1e 100755 --- a/index.php +++ b/index.php @@ -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;