From 757bc10daa49f01bb0a8b85f3dd3c353c76f982a Mon Sep 17 00:00:00 2001 From: SuperDev Date: Thu, 22 Dec 2022 13:19:11 -0600 Subject: [PATCH] Update config.php --- system/config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/config.php b/system/config.php index a512d0f..76989ca 100644 --- a/system/config.php +++ b/system/config.php @@ -25,6 +25,9 @@ $baseurl = getenv('APP_BASE_URL') ?? $_SERVER['HTTP_HOST']; $maxsize = getenv('APP_MAX_SIZE') ?? (int)(ini_get('upload_max_filesize')); $minsize = getenv('APP_MIN_SIZE') ?? '0'; +if($waitfor = !null){ $waitfor = getenv('APP_DOWNLOAD_TIME'); } +if($waitfor = null){ $waitfor = "30"; } + define('email', $email); define('password', $password); @@ -41,6 +44,7 @@ define('file_url_destination', $baseurl); define('max_size', $maxsize); define('min_size', $minsize); define('app_contact_email', $appcontact); +define('waitfor', $waitfor); /* Analytics */ define('plausibledomain', $plausibledomain);