summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel@molkentin.de>2013-04-24 15:11:53 +0200
committerDaniel Molkentin <daniel@molkentin.de>2013-04-24 15:11:53 +0200
commita86fe7920bd4b49f56fe4448a047e07c0356b43b (patch)
tree9893764be8e4b5061935c2186489faa2df5f9e56 /index.html
parent9dde43db57f5fffc68ef096b1a041f8b5d427d96 (diff)
downloadnextcloud-server-a86fe7920bd4b49f56fe4448a047e07c0356b43b.tar.gz
nextcloud-server-a86fe7920bd4b49f56fe4448a047e07c0356b43b.zip
Try to prefer index.php over index.html in the same directory
Add JS redirect if that fails (HTTP-based redirects are disabled by default in more recent Firefox versions).
Diffstat (limited to 'index.html')
-rw-r--r--index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.html b/index.html
index 69d42e3a0b3..f160f46b6fc 100644
--- a/index.html
+++ b/index.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
+ <script type="text/javascript"> window.location.href="index.php"; </script>
<meta http-equiv="refresh" content="0; URL=index.php">
</head>
</html>