Renamed new.php to admin.php, fixed redirects

This commit is contained in:
hbrain 2026-06-04 14:33:29 +02:00
parent 5aca0bdbf8
commit ab07d7ab35
6 changed files with 1902 additions and 1887 deletions

View file

@ -7,7 +7,7 @@ PHP web UI for publishing and managing MVLog videos on **bubulescu.org**.
- Web root: `/var/www/html/mvlog`
- Public URLs:
- `https://bubulescu.org/`
- `https://bubulescu.org/new.php`
- `https://bubulescu.org/admin.php`
- `https://bubulescu.org/login.php`
- `https://bubulescu.org/feed.php`
- `https://bubulescu.org/contact.php`
@ -15,7 +15,7 @@ PHP web UI for publishing and managing MVLog videos on **bubulescu.org**.
## Main structure
- `index.php` — public landing page (rendered videos and permalink pages)
- `new.php` — authenticated admin UI
- `admin.php` — authenticated admin UI
- `feed.php` — RSS feed
- `contact.php` — contact form
- `auth.php` — session auth helpers
@ -46,7 +46,7 @@ Important dirs:
- Video posters are resolved from the source image recorded in the thumbnail sidecar JSON; if the source image is missing, the `<video>` gets no poster
- Permalink OG/Twitter images use `out-dir/<article_id>_og.jpg` when present; otherwise they fall back to `https://bubulescu.org/assets/img/bubulescuorg.jpg`
## Admin (`new.php`)
## Admin (`admin.php`)
Requires login via PHP session.