aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public.php b/public.php
index d50f49e2536..f033e1897c8 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;
}