Changed it so only .ini file types are loaded from the (optional) config directory rather all files types in that folder.
							parent
							
								
									d6b8b41a5b
								
							
						
					
					
						commit
						7a2985b441
					
				| 
						 | 
					@ -93,8 +93,11 @@ namespace OpenSim
 | 
				
			||||||
                string[] fileEntries = Directory.GetFiles(iniDirName);
 | 
					                string[] fileEntries = Directory.GetFiles(iniDirName);
 | 
				
			||||||
                foreach (string filePath in fileEntries)
 | 
					                foreach (string filePath in fileEntries)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                   // m_log.InfoFormat("reading ini file < {0} > from config dir", filePath);
 | 
					                    if (Path.GetExtension(filePath).ToLower() == ".ini")
 | 
				
			||||||
                    ReadConfig(Path.GetFileName(filePath), filePath, m_config, false);
 | 
					                    {
 | 
				
			||||||
 | 
					                        // m_log.InfoFormat("reading ini file < {0} > from config dir", filePath);
 | 
				
			||||||
 | 
					                        ReadConfig(Path.GetFileName(filePath), filePath, m_config, false);
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue