X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/b02ef679e1f1cb1de6fb64946f9f5bff12469f4a..078a50aeed0f055af710b51bc71f109d8ffc1318:/script.php diff --git a/script.php b/script.php index 620d70d..b455003 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='' # 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 @@ -350,7 +350,11 @@ if [ "$1" == "send" ]; then fi cnt=$(( cnt + 1 )) done) + echo "Download link:" echo "${url}?h=$code" + echo "Direct download link:" + echo "${url}?h=$code&d=1" + echo "Delete link:" echo "${url}?h=$code&d=$del_code" elif [ "$1" == "get" ]; then if [ -z "$password" ]; then