modified: README.md

modified:   db.sql
	modified:   index.php
- Move user/pass to DB
- Implement umlaut normalization so ae, oe, ue, and ss may be used. This also avoids having to use mbstring php extension.
This commit is contained in:
Sven Luethi authored and sven committed 2023-12-21 22:30:42 +01:00
1 parent 1963eaf1f9
commit 0e4421bb2a
3 files changed
+84 -52

No files matched your search

+5 -9
View File
@@ -32,17 +32,13 @@ Create a database from the provided db.sql file:
sqlite db.db < db.sql
```
## Edit index.php
Find following user/password lines and edit as needed.
```
class Auth {
private $user = 'username';
private $pass = 'password';
```
### Change the username/password
Find the USERNAME/PASSWORD rows in the config table inside the database and edit as needed.
You can also comment out the line
```
new Auth();
new Auth($db);
```
at the bottom to disable basic authentication completely.
at the bottom of index.php to disable basic authentication completely.