Fixed constants
This commit is contained in:
parent
60a2b7282a
commit
4fee89fb80
46 changed files with 204 additions and 212 deletions
|
|
@ -37,7 +37,7 @@ class InstallCommand extends Command
|
|||
|
||||
protected function configure()
|
||||
{
|
||||
$defaultPath = PHPCI_APP_DIR . 'config.yml';
|
||||
$defaultPath = APP_DIR . 'config.yml';
|
||||
|
||||
$this
|
||||
->setName('phpci:install')
|
||||
|
|
@ -383,7 +383,7 @@ class InstallCommand extends Command
|
|||
$output->write(Lang::get('setting_up_db'));
|
||||
|
||||
$phinxBinary = escapeshellarg(ROOT_DIR . 'vendor' . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . 'phinx');
|
||||
$phinxScript = escapeshellarg(PHPCI_APP_DIR . 'phinx.php');
|
||||
$phinxScript = escapeshellarg(APP_DIR . 'phinx.php');
|
||||
shell_exec($phinxBinary . ' migrate -c ' . $phinxScript);
|
||||
|
||||
$output->writeln('<info>'.Lang::get('ok').'</info>');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue