fix issue with wrong upload_size parsing
Apparently "upload_max_filesize" INI directive was giving output like "2M" which was unparseable by Mantis. Instead of setting Mantis config, increase base php.ini parameters to ~50MB and remove this line at all. Fixes #5
This commit is contained in:
@@ -10,10 +10,6 @@ $g_db_password = getenv('MYSQL_PASSWORD') !== false ? getenv('MYSQL_PASSWO
|
||||
|
||||
$g_crypto_master_salt = getenv('MASTER_SALT');
|
||||
|
||||
# To fix the warning
|
||||
# max_file_size MantisBT option is less than or equal to the upload_max_filesize directive in php.ini
|
||||
$g_max_file_size = ini_get("upload_max_filesize");
|
||||
|
||||
|
||||
# Configure email
|
||||
$g_webmaster_email = getenv('EMAIL_WEBMASTER') !== false ? getenv('EMAIL_WEBMASTER') : null;
|
||||
|
Reference in New Issue
Block a user