From a2a24d53de2a091397bbb34baef2a881695121c3 Mon Sep 17 00:00:00 2001 From: Egorka Date: Mon, 3 Sep 2018 21:46:41 +0300 Subject: [PATCH] Setup init overwrite type --- setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.php b/setup.php index 23bc398..6e6e927 100644 --- a/setup.php +++ b/setup.php @@ -73,10 +73,10 @@ class Setup // run init if ($this->_type == 'd') { - shell_exec('php ' . __DIR__ . '/init --env=Development --overwrite=n'); + shell_exec('php ' . __DIR__ . '/init --env=Development --overwrite=y'); } else { - shell_exec('php ' . __DIR__ . '/init --env=Production --overwrite=n'); + shell_exec('php ' . __DIR__ . '/init --env=Production --overwrite=y'); } // config db