feat: add initial fileset for 2.24.1
This commit is contained in:
		
							
								
								
									
										23
									
								
								config_inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								config_inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
$g_db_type           = 'mysqli';
 | 
			
		||||
 | 
			
		||||
$g_hostname          = getenv('MYSQL_HOST') !== false ? getenv('MYSQL_HOST') : 'db';
 | 
			
		||||
$g_database_name     = getenv('MYSQL_DATABASE') !== false ? getenv('MYSQL_DATABASE') : 'bugtracker';
 | 
			
		||||
$g_db_username       = getenv('MYSQL_USER') !== false ? getenv('MYSQL_USER') : 'mantis';
 | 
			
		||||
$g_db_password       = getenv('MYSQL_PASSWORD') !== false ? getenv('MYSQL_PASSWORD') : 'mantis';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
$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;
 | 
			
		||||
$g_from_email          = getenv('EMAIL_FROM') !== false ? getenv('EMAIL_FROM') : null;
 | 
			
		||||
$g_return_path_email          = getenv('EMAIL_RETURN_PATH') !== false ? getenv('EMAIL_RETURN_PATH') : null;
 | 
			
		||||
 | 
			
		||||
include 'config_inc_addon.php';
 | 
			
		||||
		Reference in New Issue
	
	Block a user