From 47ddaab60b31534f67a78c39430b22851b2fdabc Mon Sep 17 00:00:00 2001 From: Egorka Date: Fri, 14 Sep 2018 10:18:22 +0300 Subject: [PATCH] Installer settings fix --- README.md | 7 +++++++ setup.php | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68845bd..9b3bcb5 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,15 @@ To install Zertex CMS, go to the web (web, www, public_html, etc.) folder of you ``` composer create-project zertex/zxcms --keep-vcs ``` + +Dev version +``` +composer create-project zertex/zxcms --keep-vcs --stability=dev +``` + After creating the project, type in the console ``` +cd zxcms php setup.php ``` After completing the setup, the system will be available at the following urls diff --git a/setup.php b/setup.php index ca900b6..9666291 100644 --- a/setup.php +++ b/setup.php @@ -251,8 +251,8 @@ class Setup shell_exec('php ' . __DIR__ . '/yii settings/set en site name "Website"'); shell_exec('php ' . __DIR__ . '/yii settings/set ru site short_name "ВС"'); shell_exec('php ' . __DIR__ . '/yii settings/set en site short_name "WS"'); - shell_exec('php ' . __DIR__ . '/yii settings/set ru site theme "start"'); - shell_exec('php ' . __DIR__ . '/yii settings/set en site theme "start"'); + shell_exec('php ' . __DIR__ . '/yii settings/set ru design theme "start"'); + shell_exec('php ' . __DIR__ . '/yii settings/set en design theme "start"'); } private function trueEmail($email) : bool