Fix registration upload size, mail helper env variables, and verification rate limits

This commit is contained in:
ilham_gmail
2026-06-11 20:08:30 +07:00
parent 3b62f71946
commit 36e3e829ac
7 changed files with 209 additions and 36 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ function load_dotenv($path){
if((substr($v,0,1)==='"' && substr($v,-1)==='"') || (substr($v,0,1)==="'" && substr($v,-1)==="'")){
$v = substr($v,1,-1);
}
if(getenv($k) === false){
if(getenv($k) === false || getenv($k) === ''){
putenv("$k=$v");
$_ENV[$k] = $v;
}