Re: svn: /phpdoc/en/trunk/language/control-structures/ include.xml

From: Date: Wed, 15 Sep 2010 14:00:01 +0000
Subject: Re: svn: /phpdoc/en/trunk/language/control-structures/ include.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7115@lists.php.net to get a copy of this message
On 15 September 2010 04:55, Adam Harvey <aharvey@php.net> wrote: > aharvey                                  Wed, 15 Sep 2010 03:55:24 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=303377 > > Log: > Fix doc bug #52845 (Documentation wrong re includes with relative paths) by > adding clarifying text on what we actually mean by full and relative paths. > > Bug: http://bugs.php.net/52845 (Assigned) Documentation wrong > re includes with relative paths > > Changed paths: >    U   phpdoc/en/trunk/language/control-structures/include..xml > > Modified: phpdoc/en/trunk/language/control-structures/include.xml > =================================================================== > --- phpdoc/en/trunk/language/control-structures/include.xml     2010-09-15 03:47:21 UTC (rev > 303376) > +++ phpdoc/en/trunk/language/control-structures/include.xml     2010-09-15 03:55:24 UTC (rev > 303377) > @@ -20,10 +20,13 @@ >   <link linkend="errorfunc.constants.errorlevels.e-error">fatal > error</link>. >  </simpara> >  <simpara> > -  If a path is defined (full or relative), the > -  <link linkend="ini.include-path">include_path</link> will be ignored > altogether. > -  For example, if a filename begins with <literal>../</literal>, the parser will > -  look in the parent directory to find the requested file. > +  If a path is defined &mdash; whether absolute (starting with a drive letter > +  on Windows, or <literal>/</literal> on Unix/Linux systems) or relative to > +  the current directory (starting with <literal>.</literal> or > +  <literal>..</literal>) &mdash; the > +  <link linkend="ini.include-path">include_path</link> will be ignored > +  altogether.  For example, if a filename begins with <literal>../</literal>, > +  the parser will look in the parent directory to find the requested file. >  </simpara> >  <simpara> >   For more information on how PHP handles including files and the include path, > > > -- > PHP Documentation Commits Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I don't think the drive letter is important for Windows, just the root \ I would consider "D:\" and "\" as both absolute paths for windows. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

« previous php.doc.cvs (#7115) next »