From a68b1acc7e01d91a111df847fe27518b03d44225 Mon Sep 17 00:00:00 2001 From: Dan Untenzu Date: Thu, 12 Jan 2017 18:24:02 +0100 Subject: [PATCH] [FEATURE] Streamline default expiration date The bash script sets the expiration date to "none" by default. The web form has "month" as default however. Streamline the default expiration date and set the bash to month as well. This also avoids an error if the bash script is run for the first time ever with default settings, since the expiration time "none" is not allowed then. Refs #85 --- script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.php b/script.php index 3e6668e..cae34a9 100644 --- a/script.php +++ b/script.php @@ -246,7 +246,7 @@ elseif (isset ($_GET['lang'])) # Config proxy='' # ex: proxy='proxysever.test.com:3128' or set JIRAFEAU_PROXY global variable url='' # or set JIRAFEAU_URL ex: url='http://mysite/jirafeau/script.php' -time='none' # minute, hour, day, week, month, year or none. Or set JIRAFEAU_TIME. +time='month' # minute, hour, day, week, month, year or none. Or set JIRAFEAU_TIME. one_time='' # ex: one_time="1" or set JIRAFEAU_ONE_TIME. curl='' # curl path to download or set JIRAFEAU_CURL_PATH. # End of config -- 2.34.1