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
$RUNTIME_NOAPPS = true;
require_once 'lib/base.php';
OC::checkMaintenanceMode();
if (!isset($_GET['service'])) {
header('HTTP/1.0 404 Not Found');
exit;