<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.joomla.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.joomla.org/index.php?title=JURI/root&amp;feed=atom&amp;action=history</id>
		<title>JURI/root - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=JURI/root&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/root&amp;action=history"/>
		<updated>2013-05-21T23:06:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.3</generator>

	<entry>
		<id>http://docs.joomla.org/index.php?title=JURI/root&amp;diff=79290&amp;oldid=prev</id>
		<title>Munto: Edit api.joomla.org link</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/root&amp;diff=79290&amp;oldid=prev"/>
				<updated>2012-12-21T17:35:31Z</updated>
		
		<summary type="html">&lt;p&gt;Edit api.joomla.org link&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:35, 21 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Joomla root URI (path only) is /a-different-path&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Joomla root URI (path only) is /a-different-path&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===See also===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===See also===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#root JURI::root on api.joomla.org]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [http://api.joomla.org&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/1.5&lt;/ins&gt;/Joomla-Framework/Environment/JURI.html#root JURI::root on api.joomla.org]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/base|JURI::base]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/base|JURI::base]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/current|JURI::current]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/current|JURI::current]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;[[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;[[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Munto</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=JURI/root&amp;diff=70859&amp;oldid=prev</id>
		<title>JoomlaWikiBot: /* See also */re-categorisation</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/root&amp;diff=70859&amp;oldid=prev"/>
				<updated>2012-08-09T16:35:28Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt;re-categorisation&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:35, 9 August 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/base|JURI::base]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/base|JURI::base]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/current|JURI::current]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/current|JURI::current]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Development]][[Category:Framework]]&lt;/del&gt;[[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;[[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JoomlaWikiBot</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=JURI/root&amp;diff=15901&amp;oldid=prev</id>
		<title>Tgryffyn at 16:52, 14 October 2009</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/root&amp;diff=15901&amp;oldid=prev"/>
				<updated>2009-10-14T16:52:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:52, 14 October 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A static method that returns the root URI of the Joomla site.&amp;#160; If Joomla has been installed in the web server's document root then this method will return &amp;quot;/&amp;quot; for the path.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A static method that returns the root URI of the Joomla site.&amp;#160; If Joomla has been installed in the web server's document root then this method will return &amp;quot;/&amp;quot; for the path.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Syntax===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Syntax===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;string &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;base&lt;/del&gt;( $pathonly, $path )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;string &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;root&lt;/ins&gt;( $pathonly, $path )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;where:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;where:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tgryffyn</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=JURI/root&amp;diff=10782&amp;oldid=prev</id>
		<title>Chris Davenport: New page: A static method that returns the root URI of the Joomla site.  If Joomla has been installed in the web server's document root then this method will return &quot;/&quot; for the path. ===Syntax=== st...</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/root&amp;diff=10782&amp;oldid=prev"/>
				<updated>2008-09-17T10:35:27Z</updated>
		
		<summary type="html">&lt;p&gt;New page: A static method that returns the root URI of the Joomla site.  If Joomla has been installed in the web server&amp;#039;s document root then this method will return &amp;quot;/&amp;quot; for the path. ===Syntax=== st...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A static method that returns the root URI of the Joomla site.  If Joomla has been installed in the web server's document root then this method will return &amp;quot;/&amp;quot; for the path.&lt;br /&gt;
===Syntax===&lt;br /&gt;
string base( $pathonly, $path )&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$pathonly&lt;br /&gt;
|boolean&lt;br /&gt;
|If '''true''' then only the path to the Joomla site is returned; otherwise the scheme, host and port are prepended to the path.  Note that when '''true''' the URI returned has a trailing &amp;quot;/&amp;quot;, but when '''false''' the trailing &amp;quot;/&amp;quot; is omitted.&lt;br /&gt;
|'''false'''&lt;br /&gt;
|-&lt;br /&gt;
|$path&lt;br /&gt;
|string&lt;br /&gt;
|Path to override the actual path.  Since this is held statically it will affect all subsequent calls to this method.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
In this example, the Joomla root URI is shown with both values of the $pathonly argument.  A new path is also applied and it should be noted that it affects subsequent calls to this method.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
echo 'Joomla root URI is ' . JURI::root() . &amp;quot;\n&amp;quot;;&lt;br /&gt;
echo 'Joomla root URI (path only) is ' . JURI::root( true ) . &amp;quot;\n&amp;quot;;&lt;br /&gt;
echo 'Joomla root URI (path specified) is ' . JURI::root( false, '/a-different-path' ) . &amp;quot;\n&amp;quot;;&lt;br /&gt;
echo 'Joomla root URI (path only) (path specified) is ' . JURI::root( true, '/a-different-path' ) . &amp;quot;\n&amp;quot;;&lt;br /&gt;
echo &amp;quot;\n&amp;quot;;&lt;br /&gt;
echo 'Joomla root URI is ' . JURI::root() . &amp;quot;\n&amp;quot;;&lt;br /&gt;
echo 'Joomla root URI (path only) is ' . JURI::root( true ) . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
might output&lt;br /&gt;
 Joomla root URI is http://localhost/joomla15svn10812/&lt;br /&gt;
 Joomla root URI (path only) is /joomla15svn10812&lt;br /&gt;
 Joomla root URI (path specified) is http://localhost/a-different-path/&lt;br /&gt;
 Joomla root URI (path only) (path specified) is /a-different-path&lt;br /&gt;
 &lt;br /&gt;
 Joomla root URI is http://localhost/a-different-path/&lt;br /&gt;
 Joomla root URI (path only) is /a-different-path&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#root JURI::root on api.joomla.org]&lt;br /&gt;
* [[JURI/base|JURI::base]]&lt;br /&gt;
* [[JURI/current|JURI::current]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	</feed>