|
@@ 131-137 (lines=7) @@
|
| 128 |
|
if ( false === $component_data[ 'External' ] ) |
| 129 |
|
$component_data[ 'File' ] = realpath( $this->components_dir . $component_data[ 'File' ] ); |
| 130 |
|
|
| 131 |
|
if ( !file_exists( $component_data[ 'File' ] ) ) { |
| 132 |
|
pods_message( 'Pods Component not found: ' . $component_data[ 'File' ] ); |
| 133 |
|
|
| 134 |
|
pods_transient_clear( 'pods_components' ); |
| 135 |
|
|
| 136 |
|
continue; |
| 137 |
|
} |
| 138 |
|
|
| 139 |
|
$capability = 'pods_component_' . str_replace( '-', '_', sanitize_title( $component ) ); |
| 140 |
|
|
|
@@ 271-277 (lines=7) @@
|
| 268 |
|
continue; |
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
if ( !file_exists( $component_data[ 'File' ] ) ) { |
| 272 |
|
pods_message( 'Pods Component not found: ' . $component_data[ 'File' ] ); |
| 273 |
|
|
| 274 |
|
pods_transient_clear( 'pods_components' ); |
| 275 |
|
|
| 276 |
|
continue; |
| 277 |
|
} |
| 278 |
|
|
| 279 |
|
include_once $component_data[ 'File' ]; |
| 280 |
|
|