Skip to content

Commit

Permalink
refs #1249
Browse files Browse the repository at this point in the history
  * 일반 휴대폰용 페이지에 접근이 안되는 문제 수정
  • Loading branch information
inureyes committed Dec 4, 2009
1 parent 7d9c0ff commit 478f574
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function URIinterpreter() {
case 'index.gif':
$uri['interfaceType'] = 'icon';
break;
case 'i':
case 'i':case 'm':
$uri['interfaceType'] = 'mobile';
break;
case 'checkup':
Expand Down Expand Up @@ -156,11 +156,11 @@ private function URIinterpreter() {
$pathPart = implode("/",$uri['fragment']);
$interfacePath = 'interface/blog/'.$pathPart.'/index.php';
break;
case 'i':
case 'i':case 'm':
if(in_array($uri['fragment'][1],array('entry','comment'))) {
$pathPart = 'i/'.$uri['fragment'][1];
$pathPart = $uri['fragment'][0].'/'.$uri['fragment'][1];
} else {
$pathPath = 'i/';
$pathPath = $uri['fragment'][0].'/';
}
$interfacePath = 'interface/'.$pathPart.'/index.php';
break;
Expand Down

0 comments on commit 478f574

Please # to comment.