mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-30 19:04:10 +01:00 
			
		
		
		
	IniWriter: Avoid deprecation notice upon write errors
This commit is contained in:
		
							parent
							
								
									c27b43fb75
								
							
						
					
					
						commit
						d06ce98d2f
					
				| @ -69,7 +69,7 @@ class IniWriter | ||||
|      */ | ||||
|     public function render() | ||||
|     { | ||||
|         if (file_exists($this->filename)) { | ||||
|         if ($this->filename !== null && file_exists($this->filename)) { | ||||
|             $oldconfig = Config::fromIni($this->filename); | ||||
|             $content = trim(file_get_contents($this->filename)); | ||||
|         } else { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user