commit | 2174eb02fe496d095c8c46ec6df7c78845d19083 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sun Dec 11 14:45:01 2022 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sun Dec 11 14:45:01 2022 +0100 |
tree | 0f2cab1a75a286faf4be76f45416d4c48c586dd9 | |
parent | 467de6420ba33aab26c50a112871991ad78d5458 [diff] |
Redirect index.php to main.php when signed in Change-Id: I6cf1a7427c06882f9154ada8d0266c45911444d4
diff --git a/index.php b/index.php index ea374f7..1b87a7d 100644 --- a/index.php +++ b/index.php
@@ -1,3 +1,9 @@ +<?php + require_once('./php/security.php'); + if (Security::isSignedIn()) { + Security::go('/main.php'); + } +?> <html> <head> <meta charset="UTF-8">