From d0a0d9e70b92e25ebcf9fc7851fb5b44030faa6f Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 17 Sep 2012 09:43:06 +0000 Subject: [PATCH] 1. Usunięcie pliku upgrade.php i przeniesienie jego funkcjonalności do pliku BotSession. 2. Uwzględnienie w/w zmiany w plikach INSTALL, UPGRADE, .htaccess 3. Usunięcie z pliku BUILD wzmianki o katalogu ./data/kino --- class/DownloadHelper.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/class/DownloadHelper.php b/class/DownloadHelper.php index 25f4c71..6100222 100644 --- a/class/DownloadHelper.php +++ b/class/DownloadHelper.php @@ -3,14 +3,14 @@ protected $url; protected $curl; protected $headers = array(); - protected $data = NULL; + protected $return = NULL; protected $cacheDir = './cache/'; protected $cacheFile; protected $cacheInfo = array(); function build_url($components) { - return $components['scheme'].'://'.(isset($components['user']) && !empty($components['user']) ? $components['user'].(isset($components['pass']) && !empty($components['pass']) ? ':'.$components['pass'] : '').'@' : '').$components['host'].($components['path'] ? $components['path'] : '/').($components['query'] ? '?'.$components['query'] : ''); + return $components['scheme'].'://'.(isset($components['user']) && !empty($components['user']) ? $components['user'].(isset($components['pass']) && !empty($components['pass']) ? ':'.$components['pass'] : '').'@' : '').$components['host'].(isset($components['path']) && !empty($components['path']) ? $components['path'] : '/').(isset($components['query']) && !empty($components['query']) ? '?'.$components['query'] : ''); } function __construct($url) { -- Gitblit v1.9.1