catalog/includes/apps/braintree/OSCOM_Braintree.php 1 location
|
@@ 177-183 (lines=7) @@
|
174 |
|
return $result; |
175 |
|
} |
176 |
|
|
177 |
|
function isInstalled($module) { |
178 |
|
if ( file_exists(DIR_FS_CATALOG . 'includes/apps/braintree/modules/' . basename($module) . '/' . basename($module) . '.php') ) { |
179 |
|
return defined('OSCOM_APP_PAYPAL_BRAINTREE_' . basename($module) . '_STATUS') && tep_not_null(constant('OSCOM_APP_PAYPAL_BRAINTREE_' . basename($module) . '_STATUS')); |
180 |
|
} |
181 |
|
|
182 |
|
return false; |
183 |
|
} |
184 |
|
|
185 |
|
function getModuleInfo($module, $info) { |
186 |
|
$class = 'OSCOM_Braintree_' . $module; |
catalog/includes/apps/paypal/OSCOM_PayPal.php 1 location
|
@@ 153-159 (lines=7) @@
|
150 |
|
return $result; |
151 |
|
} |
152 |
|
|
153 |
|
function isInstalled($module) { |
154 |
|
if ( file_exists(DIR_FS_CATALOG . 'includes/apps/paypal/modules/' . basename($module) . '/' . basename($module) . '.php') ) { |
155 |
|
return defined('OSCOM_APP_PAYPAL_' . basename($module) . '_STATUS') && tep_not_null(constant('OSCOM_APP_PAYPAL_' . basename($module) . '_STATUS')); |
156 |
|
} |
157 |
|
|
158 |
|
return false; |
159 |
|
} |
160 |
|
|
161 |
|
function getModuleInfo($module, $info) { |
162 |
|
$class = 'OSCOM_PayPal_' . $module; |