summaryrefslogtreecommitdiffstats
path: root/app/view/dbconfig.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-06-27 01:52:48 -0400
committerMalf Furious <m@lfurio.us>2017-06-27 01:52:48 -0400
commitb84f346e6534195de6d7485276ed81406a222703 (patch)
tree4fe4d42a666c0c098b7b1121b31b2aa5eb8e9e31 /app/view/dbconfig.php
parent479aca0db88f0b1af52f399f19a0a8267bd10744 (diff)
downloadscrott-b84f346e6534195de6d7485276ed81406a222703.tar.gz
scrott-b84f346e6534195de6d7485276ed81406a222703.zip
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.
Diffstat (limited to 'app/view/dbconfig.php')
-rw-r--r--app/view/dbconfig.php2
1 files changed, 2 insertions, 0 deletions
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";
<div class="panel panel-default">
<div class="panel-body">
<form method="post" action="<?=ap()?>">
+ <?=formctrl\formname( "save" )?>
<?=formctrl\text( "Engine", "dbEngine", "MySQL", "", false, true )?>
<?=formctrl\text( "Hostname", "dbHost", "", "localhost" )?>
<?=formctrl\text( "Username", "dbUname", "", "root" )?>