mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	not all DB's use a hostname
This commit is contained in:
		
							
								
								
									
										6
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								app.js
									
									
									
									
									
								
							| @@ -104,8 +104,10 @@ function start() { | |||||||
| 	winston.info('Time: ' + new Date()); | 	winston.info('Time: ' + new Date()); | ||||||
| 	winston.info('Initializing NodeBB v' + pkg.version); | 	winston.info('Initializing NodeBB v' + pkg.version); | ||||||
| 	winston.info('* using configuration stored in: ' + configFile); | 	winston.info('* using configuration stored in: ' + configFile); | ||||||
| 	var host = nconf.get(nconf.get('database') + ':host'); | 	var host = nconf.get(nconf.get('database') + ':host'), | ||||||
| 	winston.info('* using ' + nconf.get('database') +' store at ' + host + (host.indexOf('/') === -1 ? ':' + nconf.get(nconf.get('database') + ':port') : '')); | 		storeLocation = host ? 'at ' + host + (host.indexOf('/') === -1 ? ':' + nconf.get(nconf.get('database') + ':port') : '') : ''; | ||||||
|  |  | ||||||
|  | 	winston.info('* using ' + nconf.get('database') +' store ' + storeLocation); | ||||||
| 	winston.info('* using themes stored in: ' + nconf.get('themes_path')); | 	winston.info('* using themes stored in: ' + nconf.get('themes_path')); | ||||||
|  |  | ||||||
| 	if (process.env.NODE_ENV === 'development') { | 	if (process.env.NODE_ENV === 'development') { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user