Code Duplication    Length = 3-3 lines in 2 locations

application/modules/core/src/FrontController.php 2 locations

@@ 86-88 (lines=3) @@
83
84
    private function main() {
85
86
        if ($this->ci->input->get() || strstr($this->ci->input->server('REQUEST_URI'), '?')) {
87
            $this->ci->template->registerCanonical(site_url());
88
        }
89
90
        Events::create()->registerEvent(NULL, 'Core:_mainPage')->runFactory();
91
@@ 135-137 (lines=3) @@
132
     */
133
    private function product($id) {
134
135
        if ($this->ci->input->get() || strstr($this->ci->input->server('REQUEST_URI'), '?')) {
136
            $this->ci->template->registerCanonical(site_url($this->ci->uri->uri_string()));
137
        }
138
139
        $this->module('shop/product/index/' . $id);
140