From: Banana Date: Tue, 24 Mar 2020 21:33:04 +0000 (+0100) Subject: todo and documentation update X-Git-Tag: v1.0^2~10 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=3d5857d0d53690041593be7ec6d48f2aabaa046d;p=selfpaste.git todo and documentation update --- diff --git a/TODO b/TODO index 5ef4ac1..e3afa1f 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,4 @@ -* Documentation -* code cleanup and small footprint +* small footprint * add force download parameter * multiple secrets * creation or even access with basic auth diff --git a/documentation/lifetime.txt b/documentation/lifetime.txt index 2010874..eccbe71 100644 --- a/documentation/lifetime.txt +++ b/documentation/lifetime.txt @@ -1,4 +1,4 @@ The default lifetime of a paste is 30 days. Anything older will be deleted. -The config value is on days. +The config value is in days. The default flood prevention time maximum is 30 sec. \ No newline at end of file diff --git a/documentation/setup.txt b/documentation/setup.txt index 34c7435..7dade72 100644 --- a/documentation/setup.txt +++ b/documentation/setup.txt @@ -1,4 +1,9 @@ -Change upload_max_filesize and php_value post_max_size in webroot/.htaccess -Change ENDPOINT variable in selfpaste.sh client file. -Change the SELFPASTE_UPLOAD_SECRET in config.php and client file. -Change SELFPASTE_ALLOWED_FILETYPES to your needs. \ No newline at end of file +Unpack and move everything in the webroot folder to a webaccessable folder +into your webserver. + +Rename config.default.php t config.php. + +Open config.php, read the comments and make your changes. + +For more information about some config settings read the seperate documentation +file for this setting. \ No newline at end of file