|
|
|
@ -34,10 +34,10 @@ class Setup
|
|
|
|
|
|
|
|
|
|
// run init |
|
|
|
|
if ($this->_type == 'd') { |
|
|
|
|
shell_exec('init --env=Development --overwrite=n'); |
|
|
|
|
shell_exec('php init --env=Development --overwrite=n'); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
shell_exec('init --env=Production --overwrite=n'); |
|
|
|
|
shell_exec('php init --env=Production --overwrite=n'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// config db |
|
|
|
|