tags 342161 + patch
thanks

Hi

Thanks a lot for the patch.

Have you sent it upstream as well?

Regards

// Ola

On Mon, Dec 05, 2005 at 11:08:57PM +0100, Giuseppe Iuculano wrote:
> Package: horde3
> Version: 3.0.7-1
> Severity: minor
> 
> Attached a diff for weatherdotcom.php which fixes this bug
> 
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.12-1-686
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> 
> Versions of packages horde3 depends on:
> ii  apache2                      2.0.54-5    next generation, scalable, 
> extenda
> ii  apache2-mpm-prefork [httpd]  2.0.54-5    traditional model for Apache2
> ii  libapache2-mod-php4 [phpapi- 4:4.3.10-16 server-side, HTML-embedded 
> scripti
> ii  php4-cli [phpapi-20020918]   4:4.3.10-16 command-line interpreter for the 
> p
> ii  php4-domxml                  4:4.3.10-16 XMLv2 module for php4
> ii  php4-pear                    4:4.3.10-16 PEAR - PHP Extension and 
> Applicati
> ii  php4-pear-log                1.6.0-1.1   Log module for PEAR
> 
> -- no debconf information

> --- weatherdotcom.php 2005-12-05 22:58:51.000000000 +0100
> +++ /usr/share/horde3/lib/Block/weatherdotcom.php     2005-11-22 
> 22:47:35.000000000 +0100
> @@ -36,8 +36,8 @@
>       */
>      function _params()
>      {
> -        if (!(@include_once 'Services/Weather.php') ||
> -            !(@include_once 'Cache.php') ||
> +        if ([EMAIL PROTECTED] 'Services/Weather.php' ||
> +            [EMAIL PROTECTED] 'Cache.php' ||
>              !ini_get('allow_url_fopen')) {
>              Horde::logMessage('The weather.com block will not work without 
> the PEARServices_Weather and Cache packages, and allow_url_fopen enabled. Run 
> pear install Services_Weather Cache, and ensure that allow_url_fopen_wrappers 
> is enabled in php.ini.',
>                                __FILE__, __LINE__, PEAR_LOG_ERR);
> @@ -101,8 +101,8 @@
>       */
>      function _content()
>      {
> -        if (!(@include_once 'Services/Weather.php') ||
> -            !(@include_once 'Cache.php') ||
> +        if ([EMAIL PROTECTED] 'Services/Weather.php' ||
> +            [EMAIL PROTECTED] 'Cache.php' ||
>              !ini_get('allow_url_fopen')) {
>              Horde::logMessage('The weather.com block will not work without 
> the PEARServices_Weather and Cache packages, and allow_url_fopen enabled. Run 
> pear install Services_Weather Cache, and ensure that allow_url_fopen_wrappers 
> is enabled in php.ini.',
>                                __FILE__, __LINE__, PEAR_LOG_ERR);


-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to