Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/erikdubbelboer/phpRedisAdmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Dubbelboer <erik@dubbelboer.com>2019-09-27 23:10:43 +0300
committerErik Dubbelboer <erik@dubbelboer.com>2019-09-27 23:10:50 +0300
commit0e8e4724be4016f75608aafd1c260b6f3350c490 (patch)
tree9771d66c5219127c15777545c2dcefaa4c854628 /ttl.php
parenta858f60baea28405b0373ddf42fc77a56bc10820 (diff)
Make all paths relative
Diffstat (limited to 'ttl.php')
-rw-r--r--ttl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttl.php b/ttl.php
index b326823..6db0cb2 100644
--- a/ttl.php
+++ b/ttl.php
@@ -26,7 +26,7 @@ require 'includes/header.inc.php';
?>
<h2>Edit TTL</h2>
-<form action="<?php echo format_html($_SERVER['REQUEST_URI'])?>" method="post">
+<form action="<?php echo format_html(getRelativePath('ttl.php'))?>" method="post">
<p>
<label for="key">Key:</label>