public.php - check if maintenance mode is enabled

This commit is contained in:
Georg Ehrke 2013-06-03 12:57:47 +02:00
parent b76725c1fa
commit ce14788ac0
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<?php <?php
$RUNTIME_NOAPPS = true; $RUNTIME_NOAPPS = true;
require_once 'lib/base.php'; require_once 'lib/base.php';
OC::checkMaintenanceMode();
if (!isset($_GET['service'])) { if (!isset($_GET['service'])) {
header('HTTP/1.0 404 Not Found'); header('HTTP/1.0 404 Not Found');
exit; exit;