From 66cc767e34a1176395444323f7490826275155a4 Mon Sep 17 00:00:00 2001 From: inureyes Date: Thu, 26 Nov 2009 09:49:55 +0000 Subject: [PATCH] =?UTF-8?q?=20refs=20#1249=20=20=20*=20=EA=B8=80=20?= =?UTF-8?q?=EC=A3=BC=EC=86=8C=EB=A5=BC=20=EC=9D=B8=EC=8B=9D=ED=95=A0=20?= =?UTF-8?q?=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=20=20*=20TODO=20:=20=EB=B0=94=EB=A1=9C=20?= =?UTF-8?q?=EB=A6=AC=EB=8B=A4=EC=9D=B4=EB=A0=89=EC=85=98=20=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95.=20iUI=20=EC=9D=B8?= =?UTF-8?q?=ED=84=B0=ED=8E=98=EC=9D=B4=EC=8A=A4=20=EB=A8=B9=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/Dispatcher.php | 9 ++++++++- interface/i/entry/index.php | 7 ++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/framework/Dispatcher.php b/framework/Dispatcher.php index a261f1217..23c46e7fa 100644 --- a/framework/Dispatcher.php +++ b/framework/Dispatcher.php @@ -124,7 +124,6 @@ private function URIinterpreter() { } else { $uri['interfaceType'] = 'blog'; } - /* Load interface. */ $interfacePath = null; if ($uri['interfaceType'] == 'icon') { @@ -157,6 +156,14 @@ private function URIinterpreter() { $pathPart = implode("/",$uri['fragment']); $interfacePath = 'interface/blog/'.$pathPart.'/index.php'; break; + case 'i': + if(in_array($uri['fragment'][1],array('entry'))) { + $pathPart = 'i/'.$uri['fragment'][1]; + } else { + $pathPath = 'i/'; + } + $interfacePath = 'interface/'.$pathPart.'/index.php'; + break; default: } } diff --git a/interface/i/entry/index.php b/interface/i/entry/index.php index bda6c65f7..c3e616b8a 100644 --- a/interface/i/entry/index.php +++ b/interface/i/entry/index.php @@ -52,11 +52,12 @@