Commit Graph

2 Commits

Author SHA1 Message Date
Nikita Popov ae99d10d55 Avoid repeating DB credentials
For the code using PDO rather than ext/mysql, add a common
method for creating a connection.
2021-04-11 20:34:58 +02:00
Nikita Popov 2a21449000 Move to public/ directory
Move everything that should be accessible from the webserver into
a public/ directory. Previously the document root was the root
of the repository, which is not great.
2021-04-07 12:12:02 +02:00