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

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;