add base href

This commit is contained in:
Andrey Kuvshinov
2020-05-12 22:56:44 +03:00
parent 9b78944dcb
commit c8c7b598c7
8 changed files with 36 additions and 34 deletions

View File

@@ -84,10 +84,13 @@ function mybooks_kuri($page = 1){
$login = check_login_kuri();
if (!isset($login['data']['clienthash'])){
header('Location: '.SITE.'login');
exit;
if (!isset($login['client_id'])){
header('Location: '.SITE.'login');
exit;
}
$limit = 25;
$client = api_client_kuri($login['data']['clienthash']);