Browse Source

Fixed Case sensitive on Linux

star7th 9 years ago
parent
commit
c31d79ab24
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Application/Common/Conf/config.php
  2. 1 1
      Application/Home/View/Item/showbyuid.html

+ 2 - 2
Application/Common/Conf/config.php

@@ -18,8 +18,8 @@ return array(
     'URL_MODEL' => 3 ,//URL兼容模式
     'URL_ROUTER_ON'   => true, 
     'URL_ROUTE_RULES'=>array(
-        ':id\d'               => 'Home/Item/Show?item_id=:1',
-		':domain\s$'               => 'Home/Item/Show?item_domain=:1',//item的个性域名
+        ':id\d'               => 'Home/Item/show?item_id=:1',
+		':domain\s$'               => 'Home/Item/show?item_domain=:1',//item的个性域名
         'uid/:id\d'               => 'Home/Item/showByUid?uid=:1',
     ),
     'URL_CASE_INSENSITIVE'=>true,

+ 1 - 1
Application/Home/View/Item/showbyuid.html

@@ -50,7 +50,7 @@
 
         <foreach name="items" item="item">
           <li class="span3 text-center">
-            <a class="thumbnail" href="{:U('Home/Item/Show',array('item_id'=>$item['item_id']))}" target="_blank" title="{$item.item_description}">
+            <a class="thumbnail" href="{:U('Home/Item/show',array('item_id'=>$item['item_id']))}" target="_blank" title="{$item.item_description}">
               <p class="my-item">{$item.item_name}</p>
             </a>
           </li>