From 5545fb78f722f9e8694c0e18cd47b843209ba853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikki=20S=C3=B8rensen?= Date: Sat, 10 Mar 2018 01:41:52 +0100 Subject: [PATCH] Updating index to support cli and web --- scripts/index.php | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/scripts/index.php b/scripts/index.php index 601993a..cf49b2c 100644 --- a/scripts/index.php +++ b/scripts/index.php @@ -1,24 +1,17 @@ print(); + // Running in cli (commandline) + $cli_mode = new cli_mode(); + } else { - ?> - -
-
- unbound
- Other
- Other2
- -
- - \ No newline at end of file