From 1eefb6cd19a0d8f3bc9c5cbf0365fa5ee608705b Mon Sep 17 00:00:00 2001 From: chekun <234267695@qq.com> Date: Fri, 9 May 2014 15:21:53 +0800 Subject: [PATCH] fix route error --- market.php | 2 +- views/js.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/market.php b/market.php index eb15a5e..924ff12 100644 --- a/market.php +++ b/market.php @@ -1,3 +1,3 @@ redirect('app-store/market'); \ No newline at end of file +Typecho_Response::getInstance()->redirect('/index.php/admin/app-store/market'); \ No newline at end of file diff --git a/views/js.php b/views/js.php index affe7c6..cf01786 100644 --- a/views/js.php +++ b/views/js.php @@ -34,7 +34,7 @@ function init() } $.ajax({ - url: 'adminUrl('app-store/install'); ?>', + url: 'getRequestUrl()); ?>', dataType: 'json', data: { version: $version.val(),