From 188e05083b1034a5865ce01f2924835b8fbe4808 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 10 May 2025 21:42:50 +0500 Subject: feat: rules --- public/emotes/upload.php | 4 ++-- public/rules.php | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ public/static/txt/RULES | 2 ++ 3 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 public/rules.php create mode 100644 public/static/txt/RULES (limited to 'public') diff --git a/public/emotes/upload.php b/public/emotes/upload.php index 96544fd..f890ec2 100644 --- a/public/emotes/upload.php +++ b/public/emotes/upload.php @@ -104,8 +104,8 @@ if ($_SERVER['REQUEST_METHOD'] != "POST") {
- +
diff --git a/public/rules.php b/public/rules.php new file mode 100644 index 0000000..027b994 --- /dev/null +++ b/public/rules.php @@ -0,0 +1,50 @@ + + + + + + The Rules of <?php echo INSTANCE_NAME ?> + + + + + +
+
+ +
+ +
+

The Rules of

+
    + $line"; + } + if (empty($contents)) { + echo "No rules!"; + } + ?> +
+
+
+
+
+ + + \ No newline at end of file diff --git a/public/static/txt/RULES b/public/static/txt/RULES new file mode 100644 index 0000000..0ec5b9e --- /dev/null +++ b/public/static/txt/RULES @@ -0,0 +1,2 @@ +Hey, admin! Write your rules in /static/txt/RULES file. +If you see this, VI VON \ No newline at end of file -- cgit v1.2.3