* extending allowed filetypes
* creation or even access with basic auth
* abstract storage to support different storage solutions
+* config file for client script
+* proxy setting for client script
# COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
# along with this program. If not, see http://www.sun.com/cddl/cddl.html
#
-# 2019 https://www.bananas-playground.net/projekt/selfpaste
+# 2020 https://www.bananas-playground.net/projekt/selfpaste
command -v curl >/dev/null 2>&1 || { echo >&2 "I require curl (https://curl.haxx.se/) but it's not installed. Aborting."; exit 1; }
command -v jq >/dev/null 2>&1 || { echo >&2 "I require jq (https://stedolan.github.io/jq/) but it's not installed. Aborting."; exit 1; }
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
# this is your installation secret. Could be anything.
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
# global debug setting
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
/**
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
/**
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
echo json_encode($contentBody)."\n";
\ No newline at end of file
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
if (file_exists($contentBody)) {
header('Expires: 0');
* COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
* along with this program. If not, see http://www.sun.com/cddl/cddl.html
*
- * 2019 https://www.bananas-playground.net/projekt/selfpaste
+ * 2020 https://www.bananas-playground.net/projekt/selfpaste
*/
?>
<!DOCTYPE HTML>