summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-06-03 11:26:56 -0700
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-06-03 11:26:56 -0700
commit1f8e92019e9f80552429a4cbc5dab82437a0d31f (patch)
tree4042eddd8bf31f08ea7232a1ca154e9d3267377c
parent8c991d97aa8d2199d157ba9bc366af126b7764e3 (diff)
parentce14788ac0ee7af0950aca96b06b7d48951c71df (diff)
downloadnextcloud-server-1f8e92019e9f80552429a4cbc5dab82437a0d31f.tar.gz
nextcloud-server-1f8e92019e9f80552429a4cbc5dab82437a0d31f.zip
Merge pull request #3581 from owncloud/publicphp_maintenance
public.php - check if maintenance mode is enabled
-rw-r--r--public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public.php b/public.php
index 759e8e91619..3d7fd378af4 100644
--- a/public.php
+++ b/public.php
@@ -1,6 +1,7 @@
<?php
$RUNTIME_NOAPPS = true;
require_once 'lib/base.php';
+OC::checkMaintenanceMode();
if (!isset($_GET['service'])) {
header('HTTP/1.0 404 Not Found');
exit;