- Fixed a problem whenever PhpReader had to create a folder (permission was given in a string)
This commit is contained in:
		
							parent
							
								
									114d4ebe1e
								
							
						
					
					
						commit
						71dda03c3e
					
				| @ -41,7 +41,7 @@ class PhpReader implements ReaderInterface { | ||||
|         $path = $this->pathList[0]; | ||||
| 
 | ||||
|         if ( ! file_exists($path) ) { | ||||
|             mkdir($path, '755', true); | ||||
|             mkdir($path, 0755, true); | ||||
|         } | ||||
| 
 | ||||
|         return (bool) file_put_contents($path . DIRECTORY_SEPARATOR . "$filepath.{$this->accept[0]}", "<?php return " . var_export($content, true) . ";"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user