diff options
author | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 09:06:25 -0800 |
---|---|---|
committer | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 12:10:05 -0800 |
commit | 79fd68680b2a04240af206025fd96acd239c41a0 (patch) | |
tree | cd09fde0b55dd1ce2fcd8f07768569dda480d30d | |
parent | de148409fe5024e662ee79a9d6a67368b727ccfb (diff) | |
download | microblog-79fd68680b2a04240af206025fd96acd239c41a0.tar.gz microblog-79fd68680b2a04240af206025fd96acd239c41a0.tar.bz2 microblog-79fd68680b2a04240af206025fd96acd239c41a0.zip |
Ignore changes to the config file.
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | config-dist.php (renamed from config.php) | 0 |
3 files changed, 3 insertions, 2 deletions
@@ -1,2 +1,3 @@ *.db -feed.json
\ No newline at end of file +config.php +feed.json @@ -14,7 +14,7 @@ For crossposting to twitter, the app uses code from [J7mbo/twitter-api-php](http ### Installation - Copy the files to a directory on your webserver -- edit [config.php](config.php) and adjust the settings if you like (at least set a new password!) +- copy (or rename) [config-dist.php](config-dist.php) to config.php and adjust the settings if you like (at least set a new password!) - for Apache: edit [.htaccess](.htaccess) and set `RewriteBase` to a path matching your installation directory - for nginx: have a rule similar to `try_files $uri $uri/ /index.php?$args;` for the microblog-location - optional: modify the theme file [microblog.css](microblog.css) diff --git a/config.php b/config-dist.php index 41c6430..41c6430 100644 --- a/config.php +++ b/config-dist.php |