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 --- public_html/index.php | 226 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 public_html/index.php (limited to 'public_html/index.php') diff --git a/public_html/index.php b/public_html/index.php new file mode 100644 index 000000000..71d283abb --- /dev/null +++ b/public_html/index.php @@ -0,0 +1,226 @@ +__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 */ -- cgit v1.2.3-24-g4f1b