summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
commit02608271bb2a9f3a65ed536984d306ee14b48e34 (patch)
tree3f23ec48a694ec014e845c4f70d9b5f1c065403c /public/index.php
downloadkalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.gz
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.bz2
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.zip
initialize repository; add docker config; migrate configuration to new specsHEADmaster
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
new file mode 100644
index 0000000..157012b
--- /dev/null
+++ b/public/index.php
@@ -0,0 +1,12 @@
+<?php
+include("config/parametres.php");
+include("includes/sessions.php");
+include("includes/functions.php");
+
+if ( (isset($_SESSION['user_status'])) && ($_SESSION['user_status'] == 1) ) {
+ include("includes/ui-panel.php");
+}
+else
+ include("includes/ui-login.php");
+
+if (TESTING) echo "<!-- "; print_r($_SESSION); echo " -->";