<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Quick snip</title>
	<atom:link href="http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/</link>
	<description>Lig&#039;s accidentally overheard ramblings on MySQL/PHP and life in general</description>
	<lastBuildDate>Wed, 23 Feb 2011 16:51:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: lig</title>
		<link>http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/comment-page-1/#comment-32882</link>
		<dc:creator>lig</dc:creator>
		<pubDate>Thu, 07 Dec 2006 09:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/#comment-32882</guid>
		<description>Thanks for the heads up guys.</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Lo</title>
		<link>http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/comment-page-1/#comment-32871</link>
		<dc:creator>Nick Lo</dc:creator>
		<pubDate>Thu, 07 Dec 2006 08:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/#comment-32871</guid>
		<description>As PÃ¡draic mentioned there are changes afoot one of which is to use...

$controller-&gt;setBaseUrl(&#039;/Test/www/&#039;);
$controller-&gt;setRouter($router);

...instead of...

$router-&gt;setRewriteBase(&#039;/Test/www/&#039;);</description>
		<content:encoded><![CDATA[<p>As PÃ¡draic mentioned there are changes afoot one of which is to use&#8230;</p>
<p>$controller-&gt;setBaseUrl(&#8216;/Test/www/&#8217;);<br />
$controller-&gt;setRouter($router);</p>
<p>&#8230;instead of&#8230;</p>
<p>$router-&gt;setRewriteBase(&#8216;/Test/www/&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PÃ¡draic Brady</title>
		<link>http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/comment-page-1/#comment-32729</link>
		<dc:creator>PÃ¡draic Brady</dc:creator>
		<pubDate>Wed, 06 Dec 2006 20:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/#comment-32729</guid>
		<description>Bear in mind there will be a few changes when the next release introduces the new MVC architecture that was only included in 0.20 in the incubator classes. ;) It&#039;s not all that far away ...</description>
		<content:encoded><![CDATA[<p>Bear in mind there will be a few changes when the next release introduces the new MVC architecture that was only included in 0.20 in the incubator classes. <img src='http://www.khankennels.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  It&#8217;s not all that far away &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPDeveloper.org</title>
		<link>http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/comment-page-1/#comment-32609</link>
		<dc:creator>PHPDeveloper.org</dc:creator>
		<pubDate>Wed, 06 Dec 2006 13:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/#comment-32609</guid>
		<description>&lt;strong&gt;Ligaya Turmelle&#039;s Blog: Quick snip (or Zend Framework in a Subdirectory)...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>Ligaya Turmelle&#8217;s Blog: Quick snip (or Zend Framework in a Subdirectory)&#8230;</strong></p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/comment-page-1/#comment-32562</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Wed, 06 Dec 2006 08:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/#comment-32562</guid>
		<description>/* -- create a router -- */

$router = new Zend_Controller_RewriteRouter();
$router-&gt;addRoute(&#039;user&#039;, &#039;user/:username&#039;, array(&#039;controller&#039; =&gt; &#039;user&#039;, &#039;action&#039; =&gt; &#039;info&#039;));

/* -- set it in a controller -- */

$ctrl = Zend_Controller_Front::getInstance();
$ctrl-&gt;setRouter($router);

this should work. but dont forget that the rewriteBase will be autodetected with the rewrite router.</description>
		<content:encoded><![CDATA[<p>/* &#8212; create a router &#8212; */</p>
<p>$router = new Zend_Controller_RewriteRouter();<br />
$router-&gt;addRoute(&#8216;user&#8217;, &#8216;user/:username&#8217;, array(&#8216;controller&#8217; =&gt; &#8216;user&#8217;, &#8216;action&#8217; =&gt; &#8216;info&#8217;));</p>
<p>/* &#8212; set it in a controller &#8212; */</p>
<p>$ctrl = Zend_Controller_Front::getInstance();<br />
$ctrl-&gt;setRouter($router);</p>
<p>this should work. but dont forget that the rewriteBase will be autodetected with the rewrite router.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

