redirect mybooks
This commit is contained in:
@@ -16,5 +16,13 @@ require 'api/apiclient.php';
|
||||
_kuri();
|
||||
|
||||
function index_kuri(){
|
||||
|
||||
$checklogin = check_login_kuri();
|
||||
|
||||
if ($checklogin['error'] == 'client not found'){
|
||||
login_kuri();
|
||||
}
|
||||
else {
|
||||
mybooks_kuri();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user