mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-04-22 12:36:17 +02:00
[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
This commit is contained in:
parent
deeb132336
commit
a68b1acc7e
@ -246,7 +246,7 @@ elseif (isset ($_GET['lang']))
|
||||
# Config
|
||||
proxy='' # ex: proxy='proxysever.test.com:3128' or set JIRAFEAU_PROXY global variable
|
||||
url='<?php echo $cfg['web_root'] . 'script.php'; ?>' # 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user