Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2 from typecho-app-store/hotfix/route-error
Browse files Browse the repository at this point in the history
fix route error
  • Loading branch information
Che Kun committed May 9, 2014
2 parents 789b9f9 + 1eefb6c commit e3475e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion market.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php !defined('__TYPECHO_ROOT_DIR__') and exit();

Typecho_Response::getInstance()->redirect('app-store/market');
Typecho_Response::getInstance()->redirect('/index.php/admin/app-store/market');
2 changes: 1 addition & 1 deletion views/js.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function init()
}

$.ajax({
url: '<?php echo $options->adminUrl('app-store/install'); ?>',
url: '<?php echo str_replace('/market', '/install', Typecho_Request::getInstance()->getRequestUrl()); ?>',
dataType: 'json',
data: {
version: $version.val(),
Expand Down

0 comments on commit e3475e7

Please sign in to comment.