From d088234d67f3aa422796d922e08a07949dc53d83 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 4 Jun 2015 23:10:31 +0200 Subject: Move public files to ./public_html ./data/local is not moved because it contains likely untracked files and moving it would throw an error when updating. Signed-off-by: Florian Pritz --- index.php | 224 ++------------------------------------------------------------ 1 file changed, 4 insertions(+), 220 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0d75fb299..c0e02d611 100644 --- a/index.php +++ b/index.php @@ -1,226 +1,10 @@ * - * And away we go... + * Licensed under AGPLv3 + * (see COPYING for full license text) * */ -try { - require_once BASEPATH.'core/CodeIgniter.php'; -} catch (\exceptions\NotAuthenticatedException $e) { - if (is_cli_client()) { - show_error(nl2br(htmlspecialchars($e->__toString())), $e->get_http_error_code()); - } else { - redirect("user/login"); - } -} catch (\exceptions\PublicApiException $e) { - show_error(nl2br(htmlspecialchars($e->__toString())), $e->get_http_error_code()); -} -/* End of file index.php */ -/* Location: ./index.php */ +include 'public_html/index.php'; -- cgit v1.2.3-24-g4f1b