diff options
| author | Mandragorat Wandystanu <wktir@wandystan.eu> | 2017-11-18 01:26:16 +0100 |
|---|---|---|
| committer | Mandragorat Wandystanu <wktir@wandystan.eu> | 2017-11-18 01:26:16 +0100 |
| commit | 512fb6d72f897e688143dee13ae5fd6b87cb4791 (patch) | |
| tree | 6edd71f8cee1fd0c5ef9397ff32df482f53098c4 /static/php | |
| parent | 66561d4b4fe195b81446c94bdbfdcda4fb7167f7 (diff) | |
New site layout.
Diffstat (limited to 'static/php')
| -rw-r--r-- | static/php/index.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/static/php/index.php b/static/php/index.php new file mode 100644 index 0000000..c06d77d --- /dev/null +++ b/static/php/index.php @@ -0,0 +1,12 @@ +<?php +/** + * Display proper page depending on the login status. + */ + +require_once 'classes/Login.class.php'; + +if ((new Login())->isLoggedIn()) { + include 'upload_logged.html'; +} else { + include 'upload_unlogged.html'; +} |
