Added config params github.comments.(commit|pull_request) for allow or deny for PHP Censor to commenting on Github
This commit is contained in:
parent
d77f0e8474
commit
d209482cda
9 changed files with 52 additions and 27 deletions
|
|
@ -1,13 +1,18 @@
|
|||
Configuring PHP Censor
|
||||
======================
|
||||
|
||||
The PHP Censor configuration on the server is automatically generated into the `config.yml` file during installation. One might need to also edit the file manually.
|
||||
The PHP Censor configuration on the server is automatically generated into the `config.yml` file during installation.
|
||||
One might need to also edit the file manually.
|
||||
|
||||
For example, one could log into PHP Censor and go into the settings to disable it. But if you have already set up a username/password pair and have forgotten the password, and if the server is on a local network, and it's not sending the `forgot password` email, then editing the config file manually would be handy. To do so, just edit the `php-censor` section in the config file (which is in [yaml format](https://en.wikipedia.org/wiki/YAML)), and add
|
||||
For example, one could log into PHP Censor and go into the settings to disable it. But if you have already set up a
|
||||
username/password pair and have forgotten the password, and if the server is on a local network, and it's not sending
|
||||
the `forgot password` email, then editing the config file manually would be handy. To do so, just edit the `php-censor`
|
||||
section in the config file (which is in [yaml format](https://en.wikipedia.org/wiki/YAML)), and add
|
||||
|
||||
php-censor:
|
||||
authentication_settings:
|
||||
state: 1
|
||||
user_id: 1
|
||||
|
||||
where you can get the user_id by logging into the mysql database and selecting your user ID from the `users` table in the PHP Censor database.
|
||||
where you can get the user_id by logging into the mysql database and selecting your user ID from the `users` table in
|
||||
the PHP Censor database.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue