Re: include_once changed behavior?
| From: | Mattias Thorslund | Date: | Mon, 07 Jun 2004 22:58:16 +0000 |
| Subject: | Re: include_once changed behavior? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187853@lists.php.net to get a copy of this message | ||
Jason Wong wrote:
"The CLI SAPI does not change the current directory to the directory of the executed script!" "Note: The CGI SAPI supports the CLI SAPI behaviour by means of the -C switch when run from the command line. " In other words, it's possible to make the CGI version work like the CLI version (using absolute paths only). There seems to be no support for making CLI work like CGI, however. /MattiasPossibly: manual > Using PHP from the command line > -c switch From the manual: