Overview
Comment:Skip errors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA3-256: 839b90357cde04841ad4fb6352e2467f5478b31d00fca24646d7ab1ffd656d2c
User & Date: bohwaz on 2021-03-30 23:03:36
Other Links: branch diff | manifest | tags
Context
2021-03-30
23:24
Fix typo check-in: d2a861df34 user: bohwaz tags: dev, 1.1.0-beta1
23:03
Skip errors check-in: 839b90357c user: bohwaz tags: dev
22:12
Fix bug on session when upgrading, bump to beta1 check-in: 1eada42387 user: bohwaz tags: dev, 1.1.0-beta1
Changes

Modified src/include/lib/Garradin/Files/Storage/FileSystem.php from [d45a8b3cdb] to [7b08898a49].

216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
			return self::$_size;
		}

		$total = 0;

		$path = self::_getRoot();

		foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS)) as $p) {
			$total += $p->getSize();
		}

		self::$_size = (int) $total;

		return self::$_size;
	}







|







216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
			return self::$_size;
		}

		$total = 0;

		$path = self::_getRoot();

		foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS,), \RecursiveIteratorIterator::CATCH_GET_CHILD) as $p) {
			$total += $p->getSize();
		}

		self::$_size = (int) $total;

		return self::$_size;
	}