Well, and open_basedir, but do we really need to document this?
Theoretically every function that reads files and subject to
safe-mode/open_basedir restrictions.

-Rasmus

On Sat, 11 May 2002, Markus Fischer wrote:

> mfischer              Sat May 11 14:51:46 2002 EDT
>
>   Modified files:
>     /phpdoc/en/reference/misc/functions       highlight-file.xml
>   Log:
>   - highlight_file() is now affected by safe_mode.
>
>
> Index: phpdoc/en/reference/misc/functions/highlight-file.xml
> diff -u phpdoc/en/reference/misc/functions/highlight-file.xml:1.2 
>phpdoc/en/reference/misc/functions/highlight-file.xml:1.3
> --- phpdoc/en/reference/misc/functions/highlight-file.xml:1.2 Wed Apr 17 02:40:42 
>2002
> +++ phpdoc/en/reference/misc/functions/highlight-file.xml     Sat May 11 14:51:44 
>2002
> @@ -1,5 +1,5 @@
>  <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.2 $ -->
> +<!-- $Revision: 1.3 $ -->
>  <!-- splitted from ./en/functions/misc.xml, last change in rev 1.22 -->
>    <refentry id="function.highlight-file">
>     <refnamediv>
> @@ -40,6 +40,13 @@
>        you do not inadvertently reveal sensitive information such as
>        passwords or any other type of information that might create a
>        potential security risk.
> +     </simpara>
> +    </note>
> +    <note>
> +     <simpara>
> +      Since PHP 4.2.1 this function is also affected by <link
> +      linkend="ini.safe-mode">safe mode</link>, i.e. only files which pass the
> +      <link linkend="ini.safe-mode">safe mode</link> restriction are shown.
>       </simpara>
>      </note>
>      <para>
>
>

Reply via email to