镜像自地址
https://github.com/JGZYES/ParlzPackageManger.git
已同步 2026-09-11 08:52:45 +08:00
mirror index.php: global $base in page_head (fix Undefined variable)
这个提交包含在:
@@ -47,6 +47,7 @@ function pkg_meta($dir, $name) {
|
|||||||
function pkg_size($dir, $file) { $p = $dir . '/' . $file; return is_file($p) ? filesize($p) : 0; }
|
function pkg_size($dir, $file) { $p = $dir . '/' . $file; return is_file($p) ? filesize($p) : 0; }
|
||||||
|
|
||||||
function page_head($title) {
|
function page_head($title) {
|
||||||
|
global $base;
|
||||||
echo "<!DOCTYPE html><html lang='zh-CN'><head><meta charset='utf-8'>"
|
echo "<!DOCTYPE html><html lang='zh-CN'><head><meta charset='utf-8'>"
|
||||||
. "<meta name='viewport' content='width=device-width,initial-scale=1'>"
|
. "<meta name='viewport' content='width=device-width,initial-scale=1'>"
|
||||||
. "<title>" . esc($title) . " · PMM 镜像</title><style>"
|
. "<title>" . esc($title) . " · PMM 镜像</title><style>"
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户