From: Banana Date: Thu, 19 Dec 2019 22:17:15 +0000 (+0100) Subject: more basis stuff. X-Git-Tag: v0.2-beta~15 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=3a79b69085a5a68270b5f4486c88efcabcdedb1f;p=selfpaste.git more basis stuff. --- diff --git a/CHANGELOG b/CHANGELOG index 5f9cf19..77916a7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1 +1,2 @@ -TBA version 0.1 Hydrogen \ No newline at end of file +TBA version 0.1 Hydrogen + Initial creation. Not polished yet. \ No newline at end of file diff --git a/README b/README index e69de29..78d1100 100644 --- a/README +++ b/README @@ -0,0 +1,3 @@ +selfpaste is a small self hosting paste service. + +Link shortening inspired and some code used from: https://www.jwz.org/base64-shortlinks/ \ No newline at end of file diff --git a/webroot/.htaccess b/webroot/.htaccess index b66643c..14bfbbf 100644 --- a/webroot/.htaccess +++ b/webroot/.htaccess @@ -7,4 +7,9 @@ AddDefaultCharset utf-8 SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip + + + + RewriteEngine On + RewriteRule ^(.*)$ index.php?s=$1 [QSA,L] \ No newline at end of file diff --git a/webroot/config.default.php b/webroot/config.default.php index ca72d15..b6c9f0d 100644 --- a/webroot/config.default.php +++ b/webroot/config.default.php @@ -1,10 +1,12 @@