install function
This commit is contained in:
10
inc/main.php
10
inc/main.php
@@ -8,6 +8,10 @@
|
||||
class Main extends PhpObject
|
||||
{
|
||||
//Constants
|
||||
const SUCCESS = 'success';
|
||||
const ERROR = 'error';
|
||||
const UNAUTHORIZED = 'unauthorized';
|
||||
const NOT_FOUND = 'unknown action';
|
||||
//...
|
||||
|
||||
//Objects
|
||||
@@ -60,6 +64,12 @@ class Main extends PhpObject
|
||||
//...
|
||||
}
|
||||
|
||||
private function install()
|
||||
{
|
||||
//Install DB
|
||||
$this->oMySql->install();
|
||||
}
|
||||
|
||||
private function setContext($sProcessPage)
|
||||
{
|
||||
$this->asContext['process_page'] = basename($sProcessPage);
|
||||
|
||||
Reference in New Issue
Block a user