Skip to content
Snippets Groups Projects
Commit 23514fb5 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Make sure the vmconfig.php file is loaded in the plugins

parent 158e26d9
Branches
Tags
No related merge requests found
......@@ -19,6 +19,9 @@ defined ('_JEXEC') or die('Restricted access');
*
*/
if (!class_exists( 'VmConfig' )) {
require(JPATH_ADMINISTRATOR .'/components/com_virtuemart/helpers/config.php');
}
if (!class_exists ('vmPSPlugin')) {
require(JPATH_VM_PLUGINS . DS . 'vmpsplugin.php');
}
......
......@@ -18,6 +18,9 @@ defined ('_JEXEC') or die('Restricted access');
* @author Reinhold Kainhofer, based on the weight_countries shipping plugin by Valerie Isaksen
*
*/
if (!class_exists( 'VmConfig' )) {
require(JPATH_ADMINISTRATOR .'/components/com_virtuemart/helpers/config.php');
}
if (!class_exists ('vmPSPlugin')) {
require(JPATH_VM_PLUGINS . DS . 'vmpsplugin.php');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment