From 47a9a018f87c670b6fff7afa137a4d7c5c795069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=AE?= Date: Sat, 21 Jan 2023 17:00:10 +0900 Subject: [PATCH] First commit --- config.php | 6 ++++ index.php | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 2 ++ 3 files changed, 90 insertions(+) create mode 100644 config.php create mode 100644 index.php create mode 100644 style.css diff --git a/config.php b/config.php new file mode 100644 index 0000000..93eeb63 --- /dev/null +++ b/config.php @@ -0,0 +1,6 @@ + diff --git a/index.php b/index.php new file mode 100644 index 0000000..6168a14 --- /dev/null +++ b/index.php @@ -0,0 +1,82 @@ + + + + + + <?= YOMAMA ?>'s git repo + + + +

Made by .

+

+ $pt) { + if ($i != 0) $ph .= "/".$pt; + else echo "root"; + echo ($i != array_key_last($ex) ? "".$pt."" : $pt); + if ($i != array_key_last($ex)) echo "/"; + } + ?> +

+ Branch: ".git_branch($proot).""; + echo "

Last commit: ".get_commit_msg($proot)."

"; + } + if (!is_dir(PDIR.$path)) { + echo "
".cat($path)."
"; + } + else { + echo ""; + } + ?> + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..42acd41 --- /dev/null +++ b/style.css @@ -0,0 +1,2 @@ +body { background: #000; color: #fff; } +a { color: #c4f; }