@@ 132-136 (lines=5) @@ | ||
129 | // add class prefix |
|
130 | $module_class = 'EE_PMT_' . $module; |
|
131 | // does the module exist ? |
|
132 | if ( ! is_readable($payment_method_path . DS . $module_class . $module_ext)) { |
|
133 | $msg = sprintf(__('The requested %s payment method file could not be found or is not readable due to file permissions.', |
|
134 | 'event_espresso'), $module); |
|
135 | EE_Error::add_error($msg . '||' . $msg, __FILE__, __FUNCTION__, __LINE__); |
|
136 | return false; |
|
137 | } |
|
138 | if (WP_DEBUG === true) { |
|
139 | EEH_Debug_Tools::instance()->start_timer(); |
@@ 1298-1302 (lines=5) @@ | ||
1295 | $module_class = 'EED_' . $module; |
|
1296 | } |
|
1297 | // does the module exist ? |
|
1298 | if (! is_readable($module_path . DS . $module_class . $module_ext)) { |
|
1299 | $msg = sprintf( |
|
1300 | __( |
|
1301 | 'The requested %s module file could not be found or is not readable due to file permissions.', |
|
1302 | 'event_espresso' |
|
1303 | ), |
|
1304 | $module |
|
1305 | ); |