devshort

private self-hosted shortlink service
git clone https://git.clttr.info/devshort.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 7c42908da69335747429c4e4a7304363006351e7
parent e6618bf6a641f4dec7972b74b768e6aa01e889af
Author: Florian Kaldowski <flokX@users.noreply.github.com>
Date:   Wed, 13 Mar 2019 09:46:59 +0100

Fix GET-parameter style issue (#5)
Diffstat:
Minstaller.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installer.php b/installer.php @@ -19,7 +19,7 @@ RewriteEngine On RewriteBase $installation_path RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ {$installation_path}redirect.php?short=$1 [R=301,L]"; +RewriteRule ^(.*)$ {$installation_path}redirect.php?short=$1 [L]"; file_put_contents(__DIR__ . DIRECTORY_SEPARATOR . ".htaccess", $root_htaccess, FILE_APPEND); // Create the .htpasswd for the secure directory. If already a hashed password is there, copy it.