Fix error when viewing expired link

This commit is contained in:
Robin Appelman 2014-04-23 12:54:18 +02:00
parent 97f21712cd
commit 3d0661a1e7
1 changed files with 3 additions and 0 deletions

View File

@ -374,6 +374,9 @@ class Filesystem {
* Returns path like /admin/files
*/
static public function getRoot() {
if (!self::$defaultInstance) {
return null;
}
return self::$defaultInstance->getRoot();
}