Created
June 24, 2014 12:07
-
-
Save SammyLin/03af3df3fa83623fe59a to your computer and use it in GitHub Desktop.
opencart common_home_link remove index.php?route=common/home
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<modification> | |
<id>Common_home</id> | |
<version>For OpenCart 1.5.x</version> | |
<vqmver>1.2.3</vqmver> | |
<author>Andrew Dacenko</author> | |
<file name="system/library/response.php"> | |
<operation> | |
<search position="after"><![CDATA[ | |
public function output() { | |
]]></search> | |
<add><![CDATA[ | |
if (!defined('HTTP_CATALOG')) $this->output = str_replace('index.php?route=common/home', '', $this->output); | |
]]></add> | |
</operation> | |
</file> | |
</modification> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment