Skip to content

Instantly share code, notes, and snippets.

@asika32764
Created July 4, 2015 13:33
Show Gist options
  • Save asika32764/ee989dbfb359039f3bd8 to your computer and use it in GitHub Desktop.
Save asika32764/ee989dbfb359039f3bd8 to your computer and use it in GitHub Desktop.
Add Composer to OpenCart 2.0
<modification>
<id>Add composer</id>
<version>1.0</version>
<vqmver>1.0.8</vqmver>
<author>Simon Asika</author>
<file name="system/startup.php">
<operation>
<search position="after"><![CDATA[
require_once(DIR_SYSTEM . 'helper/utf8.php');
]]></search>
<add><![CDATA[
require_once DIR_SYSTEM . '../vendor/autoload.php';
]]></add>
</operation>
</file>
</modification>
@Dhthakkar
Copy link

Where to add this code? and in which version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment