RE: [PEAR-DEV] [Patch] PEAR::loadExtension
| From: | LIMBOURG Arnaud | Date: | Tue, 08 Jul 2003 06:02:44 +0000 |
| Subject: | RE: [PEAR-DEV] [Patch] PEAR::loadExtension | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-18083@lists.php.net to get a copy of this message | ||
> Hi all,
>
> It came to my attention to PEAR::loadExtension does not
> handle certain
> situations properly, namely the fatal errors thrown when
> enable_dl = Off
> or safe_mode = On in php.ini.
>
> Please find a simple patch below (and attached) that
> addresses this (3
> lines + comment) and apply it (I've not worked out the branches thing
> yet with php-src and don't have time to sit down and work it out atm).
If ini_get is deactivated, does it throw a warning ? If so the calls should
be made with @ini_get i guess, right ?
Arnaud.