summaryrefslogtreecommitdiffstats
path: root/app/index.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-11-05 04:58:23 -0500
committerMalf Furious <m@lfurio.us>2018-11-05 04:58:23 -0500
commit0e3e65d1ba0ecbc4f819fed3eb9c03e212e400c1 (patch)
treee932b4f82d86aaf7135fef8d3f42941e615fbfc4 /app/index.php
parentfead9f76a6f620642e0051d0065e689580af7d90 (diff)
parentdaa4f7a34e23d18e23d34d4becca752635b2ea38 (diff)
downloadscrott-0e3e65d1ba0ecbc4f819fed3eb9c03e212e400c1.tar.gz
scrott-0e3e65d1ba0ecbc4f819fed3eb9c03e212e400c1.zip
Merge branch 'feature/view-closed-issues' into dev
Diffstat (limited to 'app/index.php')
-rw-r--r--app/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/index.php b/app/index.php
index 7395c6f..7f05479 100644
--- a/app/index.php
+++ b/app/index.php
@@ -111,7 +111,10 @@ function main(array $argv) : void
$obj = new pad($argv[0]);
setPageObj($obj);
setPageName($obj->name);
- require "view/pad.php";
+ if (isset($argv[1]) && $argv[1] == "closed")
+ require "view/pad_closed.php";
+ else
+ require "view/pad.php";
break;
}
}