mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
PHP_SELF is taken from DOCUMENT_ROOT
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179833 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
41e43e7636
commit
eeb896f834
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<!-- $Revision: 1.18 $ -->
|
||||
<!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.ob-start">
|
||||
<refnamediv>
|
||||
|
@ -63,8 +63,8 @@
|
|||
<para>
|
||||
Some web servers (e.g. Apache) change the working directory of a script
|
||||
when calling the callback function. You can change it back by e.g.
|
||||
<literal>chdir(dirname($_SERVER['PHP_SELF']))</literal> in the callback
|
||||
function.
|
||||
<literal>chdir(dirname($_SERVER['SCRIPT_FILENAME']))</literal> in the
|
||||
callback function.
|
||||
</para>
|
||||
</warning>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue