Преглед изворни кода

Underscore missing in documentation

https://github.com/FreshRSS/FreshRSS/pull/1363
Alexandre Alapetite пре 9 година
родитељ
комит
f3d5cbd7da
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      cli/README.md
  2. 1 1
      cli/do-install.php

+ 1 - 1
cli/README.md

@@ -36,7 +36,7 @@ cd /usr/share/FreshRSS
 # --auth_type can be: 'form' (default), 'http_auth' (using the Web server access control), 'none' (dangerous)
 # --db-type can be: 'sqlite' (default), 'mysql' (MySQL or MariaDB), 'pgsql' (PostgreSQL)
 # --environment can be: 'production' (default), 'development' (for additional log messages)
-# --db-prefix is an optional prefix in front of the names of the tables
+# --db-prefix is an optional prefix in front of the names of the tables. We suggest using 'freshrss_'
 # This command does not create the default user. Do that with ./cli/create-user.php
 
 ./cli/create-user.php --user username ( --password 'password' --api-password 'api_password' --language en --email user@example.net --token 'longRandomString' --no-default-feeds )

+ 1 - 1
cli/do-install.php

@@ -31,7 +31,7 @@ if (empty($options['default_user'])) {
 		" --environment production --base_url https://rss.example.net/" .
 		" --title FreshRSS --allow_anonymous --api_enabled" .
 		" --db-type mysql --db-host localhost:3306 --db-user freshrss --db-password dbPassword123" .
-		" --db-base freshrss --db-prefix freshrss )");
+		" --db-base freshrss --db-prefix freshrss_ )");
 }
 
 fwrite(STDERR, 'FreshRSS install…' . "\n");