Fwd: Re: Post Install: Fatal error on lib/imap.inc

Zachery Hostens roundcube at plastik.us
Fri Nov 11 03:54:47 CET 2005


oops.. pressed reply instead of reply-all

-------- Original Message --------
Subject: Re: Post Install: Fatal error on lib/imap.inc
Date: Thu, 10 Nov 2005 19:43:54 -0500
From: Zachery Hostens <roundcube at plastik.us>
To: justin randell <justin at babel.com.au>

id imagine there will probably be more stuff missing from older versions of php
that will end up causing roundcube to act "funny" or not at all, besides
missing variables/defines.

though it may be good to do a check on index.php ensuring the correct version
of php is being ran.

On Fri, 11 Nov 2005 11:02:38 +1100, justin randell <justin at babel.com.au> wrote:
> it's probably worth fixing this in the code as well.
>
> a simple function would do it.
>
> this could go in index.php and be called before the setting of the
> include path.
>
> function rcmail_set_path_separator()
>   {
>   if (defined('PATH_SEPARATOR'))
>     return;
>     |
>   if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
>     |define('PATH_SEPARATOR', ';');
>   else
>     define('PATH_SEPARATOR', ':');
>
>   return
>   }
>
> i'll submit a patch when i get a spare moment (unless someone beats me
> to it, hint hint...)
>
> cheers
> justin





More information about the Dev mailing list