protected static function correctItem(&$nfo) { if (empty($nfo["time"])) { $nfo["time"] = 0; } if (empty($nfo["size"])) { $nfo["size"] = 0; } if (empty($nfo["seeds"])) { $nfo["seeds"] = 0; } if (empty($nfo["peers"])) { $nfo["peers"] = 0; } if (isInvalidUTF8($nfo["name"])) { $nfo["name"] = commonEngine::toUTF($nfo["name"], "ISO-8859-1"); } }
public function makeClient($url) { $client = parent::makeClient($url); return $client; }
public function makeClient($url) { $client = parent::makeClient($url); $client->cookies = array("lw" => "s"); return $client; }