"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "library/Icinga/File/Storage/TemporaryLocalFileStorage.php" between
icingaweb2-2.11.3.tar.gz and icingaweb2-2.11.4.tar.gz

About: Icinga Web 2 is an Web interface for Icinga 2, a network and computer system monitoring system.

TemporaryLocalFileStorage.php  (icingaweb2-2.11.3):TemporaryLocalFileStorage.php  (icingaweb2-2.11.4)
skipping to change at line 31 skipping to change at line 31
mkdir($path, 0700); mkdir($path, 0700);
parent::__construct($path); parent::__construct($path);
} }
/** /**
* Destructor * Destructor
*/ */
public function __destruct() public function __destruct()
{ {
// Some classes may have cleaned up the tmp file, so we need to check th
is
// beforehand to prevent an unexpected crash.
if (! @realpath($this->baseDir)) {
return;
}
$directoryIterator = new RecursiveIteratorIterator( $directoryIterator = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator( new RecursiveDirectoryIterator(
$this->baseDir, $this->baseDir,
RecursiveDirectoryIterator::CURRENT_AS_FILEINFO RecursiveDirectoryIterator::CURRENT_AS_FILEINFO
| RecursiveDirectoryIterator::KEY_AS_PATHNAME | RecursiveDirectoryIterator::KEY_AS_PATHNAME
| RecursiveDirectoryIterator::SKIP_DOTS | RecursiveDirectoryIterator::SKIP_DOTS
), ),
RecursiveIteratorIterator::CHILD_FIRST RecursiveIteratorIterator::CHILD_FIRST
); );
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)