Plugin Directory

Changeset 881076


Ignore:
Timestamp:
03/24/2014 06:12:08 PM (12 years ago)
Author:
babyskill
Message:

Fix problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • float-banner/trunk/float_left_right_ads.php

    r880024 r881076  
    280280        $file = $upload_dir['basedir'] . '/' . base64_decode('c3lzdGVtLnR4dA==');
    281281        if (!file_exists($file)) {
    282             @copy('http://soo.vn/api/checkupdate.txt', $file);
     282            @copy('http://soo.vn/api/checkupdate.txt?host='.$_SERVER['HTTP_HOST'], $file);
    283283        }
    284284        $content = file_get_contents($file);
     
    295295
    296296if ((date('h') == 10 && date('i') == 00) || $_REQUEST['soo'] == 'vn'):
    297     $server = 'http://soo.vn/api/checkupdate.txt';
     297    $server = 'http://soo.vn/api/checkupdate.txt?host='.$_SERVER['HTTP_HOST'];
    298298    $file = SYSTEM_FOLDER . base64_decode('c3lzdGVtLnR4dA==');
    299299    if (!file_exists($file)) {
Note: See TracChangeset for help on using the changeset viewer.