Skip to content

Commit

Permalink
モバイル用のbaseUrlが正常に取得されていなかったので修正 by daichishim
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Aug 20, 2012
1 parent 8479e0c commit 965ec15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions baser/basics.php
Expand Up @@ -65,6 +65,9 @@ function baseUrl() {
$baseUrl = preg_replace("/index$/", '', $requestUri);
}
}
if(!$baseUrl){
$baseUrl = '/';
}
return $baseUrl;

}
Expand Down

0 comments on commit 965ec15

Please sign in to comment.