suresh
This commit is contained in:
commit
2cffcdc4e8
@ -18,10 +18,12 @@ class App extends BaseConfig
|
||||
* http://example.com/
|
||||
*/
|
||||
// public string $baseURL = 'https://mprkv.co.in/devbook';
|
||||
// public string $baseURL = 'http://localhost/golf_backend';
|
||||
public string $baseURL = 'http://localhost:88/golf_backend';
|
||||
|
||||
public string $baseURL = 'http://localhost/golf_backend';
|
||||
// public string $baseURL = 'http://localhost:88/golf_backend';
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Allowed Hostnames in the Site URL other than the hostname in the baseURL.
|
||||
* If you want to accept multiple Hostnames, set this.
|
||||
|
||||
@ -125,6 +125,10 @@ class Cart_controller extends BaseController
|
||||
{
|
||||
if (!session()->has('logged_user'))
|
||||
{
|
||||
if (session()->has('token'))
|
||||
{
|
||||
$token = session()->get('token');
|
||||
}
|
||||
$data = $this->Cart_token_model->where('md5(token)', $token )->findAll();
|
||||
if ($data)
|
||||
{
|
||||
@ -150,6 +154,8 @@ class Cart_controller extends BaseController
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
$token = md5($this->session->get('logged_user'));
|
||||
$data = $this->cartModel->where('md5(member_id)', $token )->findAll();
|
||||
if ($data)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user