<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title> Leechael 的最新动态 - Kohana 中文</title>
    <link>http://kohana.cn/user/1000647</link>
    <generator>KohanaPHP</generator>
    <item>
      <title>把 kohana 放到子目录中的一个问题</title>
      <link>http://kohana.cn/group/learner/topic/1000232</link>
      <description>&lt;p&gt;在 .htaccess 中设定 RewriteBase /kohana/，然后在 Bootstrap.php 中有大概如下规则：&lt;/p&gt;

&lt;pre class="code"&gt;Route::set('admin', 'admin(/&lt;controller&gt;(/&lt;action&gt;(/&lt;id&gt;)))')
-&gt;defaults(array(
'directory'     =&gt; 'admin',
'controller'    =&gt; 'home',
'action'        =&gt; 'index',
));


Route::set('default', '(&lt;controller&gt;(/&lt;action&gt;(/&lt;id&gt;)))')
-&gt;defaults(array(
'controller' =&gt; 'welcome',
'action'     =&gt; 'index',
));&lt;/pre&gt;

&lt;p&gt;然后坏掉了，抛出异常：Class  controller_kohana does not exist。&lt;/p&gt;

&lt;p&gt;其实期许使用的 controller 是 controller_welcome，而去掉 admin 部分的规则后是正常的。&lt;/p&gt;</description>
      <author>Leechael</author>
      <pubDate>Fri, 11 Jun 2010 11:08:22 +0800</pubDate>
    </item>
    <item>
      <title>Bugs Report</title>
      <link>http://kohana.cn/group/alpaca/topic/1000231</link>
      <description>&lt;p&gt;1. 在浏览帖子的时候碰到这个问题：&lt;br /&gt;
Gravatar_Exception [ 0 ]: The email address "" is incorrectly formatted&lt;/p&gt;

&lt;p&gt;2. 假设我没有登录，浏览帖子的时候下方有一个登录框，tab 的跳转顺序有误。&lt;/p&gt;

&lt;p&gt;3. 注册表单似乎只能通过 tab 切换输入区域，鼠标点击无效。(Chrome on Mac)&lt;/p&gt;</description>
      <author>Leechael</author>
      <pubDate>Fri, 11 Jun 2010 10:32:04 +0800</pubDate>
    </item>
  </channel>
</rss>

