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
|
@@ 155-161 (lines=7) @@
|
152 |
|
return $result; |
153 |
|
} |
154 |
|
|
155 |
|
function isInstalled($module) { |
156 |
|
if ( file_exists(DIR_FS_CATALOG . 'includes/apps/paypal/modules/' . basename($module) . '/' . basename($module) . '.php') ) { |
157 |
|
return defined('OSCOM_APP_PAYPAL_' . basename($module) . '_STATUS') && tep_not_null(constant('OSCOM_APP_PAYPAL_' . basename($module) . '_STATUS')); |
158 |
|
} |
159 |
|
|
160 |
|
return false; |
161 |
|
} |
162 |
|
|
163 |
|
function getModuleInfo($module, $info) { |
164 |
|
$class = 'OSCOM_PayPal_' . $module; |