From bd7fe1938eab13e4c31d55f3d323a4eae636b4e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D1=8F=D1=87=D0=B5=D1=81=D0=BB=D0=B0=D0=B2?= Date: Thu, 2 Jul 2020 14:26:22 +0000 Subject: [PATCH 1/2] Update index.php --- app/index.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/index.php b/app/index.php index 914a206..69254f3 100644 --- a/app/index.php +++ b/app/index.php @@ -31,17 +31,4 @@ function index_kuri(){ } -function form_kuri(){ - $checklogin = check_login_kuri(); - - - if ($checklogin['error'] == 'client not found'){ - login_kuri(); - } - else { - echo ''; - } - - -} From 2b5bb2144044db4a9bd2e4a7545dafea3039930a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D1=8F=D1=87=D0=B5=D1=81=D0=BB=D0=B0=D0=B2?= Date: Thu, 2 Jul 2020 14:27:06 +0000 Subject: [PATCH 2/2] Update client.php --- app/routes/client.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/routes/client.php b/app/routes/client.php index ac6ba89..651024f 100644 --- a/app/routes/client.php +++ b/app/routes/client.php @@ -140,7 +140,20 @@ function mybooks_kuri($category = 'gazeta', $filter = 'all', $page = 1){ } +function form_kuri(){ + $checklogin = check_login_kuri(); + + + if ($checklogin['error'] == 'client not found'){ + login_kuri(); + } + else { + echo ''; + } + + +}