冲突处理

This commit is contained in:
2025-08-22 16:18:37 +08:00
parent 6e79e2ee40
commit 21810fe3ae
6 changed files with 529 additions and 4 deletions

View File

@@ -1,8 +1,26 @@
<?php
switch($request_uri){
#############################
case '/blog/md/';
include '/var/www/owp/open-ww3-project-ww3-tw/md/inite.php';
include '/var/www/owp/open-ww3-project-ww3-tw/src/md/inite.php';
exit(); // 执行成功立即结束
break;
case '/blog/md';
header("Location: https://ww3.tw/blog/md/");
exit(); // 执行成功立即结束
break;
##############################
case '/blog/image';
include '/var/www/owp/open-ww3-project-ww3-tw/src/image/s/2025/7/30/index.php';
exit(); // 执行成功立即结束
break;
case '/blog/md/src/php-markdown/';
header("Location: https://ww3.tw/blog/md/");
exit(); // 执行成功立即结束
break;
case '/blog/md/post/';
include '../src/views/post.php';