-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdb.php
More file actions
53 lines (44 loc) · 1.01 KB
/
db.php
File metadata and controls
53 lines (44 loc) · 1.01 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/*******************************************************************************
*
* @author : Dominik Bonsch <dominik.bonsch@webfrap.net>
* @date :
* @copyright : Webfrap Developer Network <contact@webfrap.net>
* @project : Webfrap Web Frame Application
* @projectUrl : http://webfrap.net
*
* @licence : BSD License see: LICENCE/BSD Licence.txt
*
* @version: @package_version@ Revision: @package_revision@
*
* Changes:
*
*******************************************************************************/
// die Basis Logik einbinden
include 'wbf/core.php';
$action = Request::arg( 'action' );
switch ( $action )
{
case 'start_setup' :
{
Db::startSetup( $setupDb, $tmpFolder );
break;
}
case 'finish_setup' :
{
Db::finishSetup( $setupDb, $tmpFolder );
break;
}
case 'help' :
{
$help = <<<HELP
HELP;
Console::out( $help );
break;
}
default:
{
///TODO fehlermeldung verbessern
Console::outln( "Invalid Parameter" );
}
}