Re: cvs: pear /Text_Wiki/doc BBtest.txt test_Text_Wiki.php
| From: | Martin Jansen | Date: | Mon, 18 Jul 2005 16:53:07 +0000 |
| Subject: | Re: cvs: pear /Text_Wiki/doc BBtest.txt test_Text_Wiki.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-33130@lists.php.net to get a copy of this message | ||
On Mon Jul 18, 2005 at 04:3552PM -0000, bertrand GUGGER wrote:
> +set_include_path( realpath(dirname(__FILE__).'/../'). PATH_SEPARATOR .
> get_include_path() );
This once again does not conform to the CS.
> +if ($_SERVER['PHP_SELF']) {
> + $html = true;
Why don't you check for the return value of php_sapi_name() instead?
- Martin