Changeset 42647


Ignore:
Timestamp:
Aug 12, 2018, 1:31:25 PM (10 months ago)
Author:
obi
Message:

update hoster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r42639 r42647  
    823823        esac
    824824fi
     825
     826if [ "$TYPE" == "cloudflare" ];then
     827        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
     828        case $hoster in
     829                *) cloudflare $INPUT;;
     830        esac
     831fi
     832
     833curl()
     834{
     835#       rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
     836#       $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
     837        $curlbin "$INPUT"
     838}
     839
     840if [ "$TYPE" == "curl" ];then
     841        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
     842        case $hoster in
     843                *) curl $INPUT;;
     844        esac
     845fi
     846
     847
Note: See TracChangeset for help on using the changeset viewer.