Server IP : 127.0.0.1 / Your IP : 3.144.17.181 [ Web Server : nginx/1.20.1 System : Linux dropship.kaosunisex.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : kaosunisex ( 1000) PHP Version : 7.3.33 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/kaosunisex/dropship.kaosunisex.com/vqmod/xml/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?> <modification> <id>VQMOD CORE FOR OPENCART - DO NOT REMOVE</id> <version>1.4.x and above</version> <vqmver required="true">2.6.0</vqmver> <author>vqmod.com</author> <file name="system/startup.php,system/engine/*.php,system/library/*.php,admin/controller/extension/*.php,system/library/template/*.php,catalog/controller/event/theme.php,system/library/template/Twig/*.php" error="skip"> <operation error="skip" info="For non OCMod includes/requires"> <search position="replace" regex="true"><![CDATA[~^(\s*)(require|include)(_once)?(\s+|\()(?!VQMod::modCheck\()(?!modification\()([^);]+)~]]></search> <add><![CDATA[$1$2$3$4\\VQMod::modCheck($5)]]></add> </operation> <operation error="skip" info="For OCMod includes/requires - OPERATION MUST BE AFTER NON OCMOD INCLUDES/REQUIRES OPERATION"> <search position="replace" regex="true"><![CDATA[~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~]]></search> <add><![CDATA[$1$2(\\VQMod::modCheck(modification($3), $3]]></add> </operation> </file> <file name="system/library/template/Twig/*.php" error="skip"> <operation error="skip" info="Add Twig support"> <search position="replace"><![CDATA[dirname(__FILE__).'/../']]></search> <add><![CDATA[DIR_SYSTEM . 'library/template/']]></add> </operation> </file> <file name="system/library/template/Twig/Loader/*.php" error="skip"> <operation error="skip" info="Add Twig support"> <search position="replace"><![CDATA[= $realpath;]]></search> <add><![CDATA[= VQMod::modCheck($realpath, DIR_TEMPLATE . $name);]]></add> </operation> </file> </modification>