summaryrefslogtreecommitdiffstats
path: root/app/controller/sysconf.control.php
blob: b69da8777cec7ef83e4fce4f65c6c2859d2a1284 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

require_once "class/controller.class.php";
require_once "model/sysconf.mod.php";

/*
 * SysConf is the interface for creating an install's "scrott.conf.php" file if it doesn't exist
 */
class Sysconf extends Controller
{
    /*
     * Controller implementation
     */
    function handle($argv)
    {
        $mod = new SysconfModel();
        $this->action_default($mod);
    }

    function action_default($mod)
    {
        $mod->default();
        include "view/sysconf/default.view.php";
    }
}

?>