@@ 70-72 (lines=3) @@ | ||
67 | if ($ci->uri->segment(1) == 'shop' && $ci->uri->segment(2) == 'cart' && $ci->uri->segment(3) == 'view' && $ci->input->get('fail') == 'true') { |
|
68 | define('ICMS_DISBALE_CSRF', true); |
|
69 | } |
|
70 | if ($ci->input->server('HTTP_REFERER') AND strpos($ci->input->server('HTTP_REFERER') . '', 'facebook.com')) { |
|
71 | define('ICMS_DISBALE_CSRF', true); |
|
72 | } |
|
73 | if ($ci->input->server('HTTP_REFERER') AND strpos($ci->input->server('HTTP_REFERER') . '', 'facebook.com')) { |
|
74 | define('ICMS_DISBALE_CSRF', true); |
|
75 | } |
|
@@ 73-75 (lines=3) @@ | ||
70 | if ($ci->input->server('HTTP_REFERER') AND strpos($ci->input->server('HTTP_REFERER') . '', 'facebook.com')) { |
|
71 | define('ICMS_DISBALE_CSRF', true); |
|
72 | } |
|
73 | if ($ci->input->server('HTTP_REFERER') AND strpos($ci->input->server('HTTP_REFERER') . '', 'facebook.com')) { |
|
74 | define('ICMS_DISBALE_CSRF', true); |
|
75 | } |
|
76 | // Support for privat |
|
77 | ||
78 | if ($ci->uri->segment(1) == 'shop' && $ci->uri->segment(2) == 'order' && $ci->uri->segment(3) == 'view') { |