Remove phpliteadmin

This commit is contained in:
Florine W. Dekker 2023-03-28 14:06:27 +02:00
parent 92b8d3f8b5
commit 11bd21ddf0
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
4 changed files with 4 additions and 6252 deletions

1
.gitignore vendored
View File

@ -3,4 +3,3 @@ dist/.goat.ignore
dist/.goat.token
dist/.goat.url
dist/.links.db
dist/phpliteadmin.config.php

View File

@ -20,10 +20,10 @@ There's a few hardcoded URLs in there that you'll have to fix yourself.
One day I'll create a config file for that.
The database at `.links.db` is automatically created when you visit the main page.
## Configuration
### phpLiteAdmin
You may override settings from `phpliteadmin.php` in the file `phpliteadmin.config.php`.
You can access the database from the command line using something like
[VisiData](https://www.visidata.org/install/).
## Configuration
### GoatCounter
GoatCounter is disabled unless the `.goat.token` and `.goat.url` files exist.

6
dist/index.php vendored
View File

@ -5,10 +5,6 @@ include_once("goatcounter.php");
$path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
switch ($path) {
case "/admin":
$_SERVER["PHP_SELF"] = $path;
include("phpliteadmin.php");
exit();
case "/favicon.ico":
header("Location: https://fwdekker.com/favicon.ico");
exit();
@ -47,7 +43,7 @@ if ($target != null && !$needs_confirmation) {
<meta name="fwd:nav:target" content="#nav" />
<meta name="fwd:footer:target" content="#footer" />
<meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/fwdekker.com/fwdkr.co/" />
<meta name="fwd:footer:version" content="v1.4.6" />
<meta name="fwd:footer:version" content="v1.5.0" />
<title>fwdkr.co</title>

6243
dist/phpliteadmin.php vendored

File diff suppressed because it is too large Load Diff