From b5b8c3b6d23871a289b4184d77a8bfc1608b80aa Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 26 Jun 2017 02:08:08 -0400 Subject: Add page markup for database setup --- app/view/dbconfig.php | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 app/view/dbconfig.php (limited to 'app/view/dbconfig.php') diff --git a/app/view/dbconfig.php b/app/view/dbconfig.php new file mode 100644 index 0000000..2cfd0f1 --- /dev/null +++ b/app/view/dbconfig.php @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + +
+
+

+     +     +     +     +     +     +

+ +

Welcome to Scrott!

+
+ +

You're seeing this page because the file "dbconfig.php" is missing.

+

Please fill out the form below to configure Scrott to use your database.

+
+ +

This form will save your database parameters to the configuration file.
+ Scrott needs this information before it can begin working!

+ +
+ It is presumed that you are the administrator for this Scrott install.
+ There is a security risk involved with exposing this page to the public! +
+ +
+
+ +
+
+
+
+ + + + + + + +
+
+
+
+ +
+
+
+
+ + + + -- cgit v1.2.3 From b84f346e6534195de6d7485276ed81406a222703 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Tue, 27 Jun 2017 01:52:48 -0400 Subject: Setup dbconfig view to hook into form submission model code Now including the model code file, and supplying an action name for the web form taking configuration parameters. --- app/view/dbconfig.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/view/dbconfig.php') diff --git a/app/view/dbconfig.php b/app/view/dbconfig.php index 2cfd0f1..006c28e 100644 --- a/app/view/dbconfig.php +++ b/app/view/dbconfig.php @@ -12,6 +12,7 @@ * For more information, please refer to UNLICENSE */ +require_once "model/dbconfig.php"; require_once "view/stdpage.php"; require_once "view/formctrl.php"; @@ -64,6 +65,7 @@ require_once "view/formctrl.php";
+ -- cgit v1.2.3