diff --git a/public.php b/public.php index d50f49e253..f033e1897c 100644 --- a/public.php +++ b/public.php @@ -54,7 +54,7 @@ try { list($service) = explode('/', $pathInfo); } $file = \OC::$server->getConfig()->getAppValue('core', 'public_' . strip_tags($service)); - if ($file === null) { + if ($file === '') { http_response_code(404); exit; }