aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-05-11 18:03:21 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-05-11 18:03:21 +0200
commite7fa7dd60e4422ec2cfb954ba51944d293522b48 (patch)
treef25ec39a298748f1590b07d1d9ac231db606cfc6
parent6bb1bf2629d8c628e640b9cfcd60967d7aa4d5ec (diff)
downloadwebsite-e7fa7dd60e4422ec2cfb954ba51944d293522b48.tar.gz
website-e7fa7dd60e4422ec2cfb954ba51944d293522b48.zip
Add title to `ip` page
-rw-r--r--ip.rhtml.php6
-rw-r--r--ip.rhtml.php.config3
2 files changed, 7 insertions, 2 deletions
diff --git a/ip.rhtml.php b/ip.rhtml.php
index 5b0a3e0..94b63fb 100644
--- a/ip.rhtml.php
+++ b/ip.rhtml.php
@@ -1,3 +1,5 @@
+<h1>Il tuo IP</h1>
+<p>
<?php
// Function to get the client IP address
function get_client_ip() {
@@ -19,4 +21,6 @@ function get_client_ip() {
return $ipaddress;
}
-echo get_client_ip(); \ No newline at end of file
+echo get_client_ip();
+?>
+</p> \ No newline at end of file
diff --git a/ip.rhtml.php.config b/ip.rhtml.php.config
index 3397c2c..d843803 100644
--- a/ip.rhtml.php.config
+++ b/ip.rhtml.php.config
@@ -1 +1,2 @@
-title: Il tuo IP \ No newline at end of file
+title: Il tuo IP
+category: ip \ No newline at end of file