Browse Source

Installer settings fix

master
Egorka 6 years ago
parent
commit
47ddaab60b
  1. 7
      README.md
  2. 4
      setup.php

7
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

4
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

Loading…
Cancel
Save