From 469243897b8603e4d53f098db0f741a3142cd191 Mon Sep 17 00:00:00 2001 From: hbrain Date: Thu, 4 Jun 2026 15:11:30 +0200 Subject: [PATCH] Fixed empty landing page --- index.php | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 6a7fe12..779ee3f 100644 --- a/index.php +++ b/index.php @@ -118,6 +118,31 @@ function render_404_page(){ exit; } +function render_blank_page(){ + $headerTitles = require __DIR__ . '/header_titles.php'; + $siteHeaderTitle = $headerTitles[array_rand($headerTitles)]; + $brandUrl = '/'; + ?> + + + + + +MVLog + + + + + + +
+ + + + true])) > 0) { +if ($articleId !== '' && (!preg_match('/^[0-9]{14}[a-f0-9]{16}$/', $articleId) || count(array_diff_key($_GET, ['id' => true])) > 0)) { render_404_page(); } +render_blank_page(); if ($articleId !== '') { $videos = array_values(array_filter($videos, function($v) use ($articleId, $config) {