From b9f44c2bb4dbe4e3be9be2ccd7f99550f6f52390 Mon Sep 17 00:00:00 2001 From: inureyes Date: Sat, 28 Nov 2009 09:05:31 +0000 Subject: [PATCH] =?UTF-8?q?=20refs=20#1249=20=20=20*=20=EB=B2=88=ED=98=B8?= =?UTF-8?q?=EB=A1=9C=20=EC=A0=91=EA=B7=BC=ED=95=9C=20=EA=B2=BD=EC=9A=B0?= =?UTF-8?q?=EC=97=90=EB=8F=84=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EB=A1=9C=20=EC=9D=B4=EB=8F=99=ED=95=98?= =?UTF-8?q?=EB=8F=84=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 --- interface/index.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/interface/index.php b/interface/index.php index 8e88d2047..1d2e672a6 100644 --- a/interface/index.php +++ b/interface/index.php @@ -47,7 +47,14 @@ // Redirect for ipod touch / iPhone if(Setting::getBlogSettingGlobal('useiPhoneUI',true) && (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'],'iPod') || strpos($_SERVER['HTTP_USER_AGENT'],'iPhone')))){ - header("Location: $blogURL/i"); exit; + if(isset($suri['id'])) { + $slogan = getSloganById($blogid, $suri['id']); + if(!empty($slogan)) { + header("Location: $blogURL/i/entry/".$slogan); exit; + } + } else { + header("Location: $blogURL/i"); exit; + } } publishEntries();