| @@ -30,14 +30,15 @@ | ||
| 30 | 30 | $path . '/src/' . 'Modules/Notification.php', |
| 31 | 31 | $path . '/src/' . 'Modules/Logger.php', |
| 32 | 32 | $path . '/src/' . 'Modules/Translate.php', |
| 33 | 33 | $path . '/src/' . 'Modules/Review.php', |
| 34 | + $path . '/src/' . 'Modules/Recommendation.php', | |
| 34 | 35 | ]; |
| 35 | 36 | |
| 36 | 37 | $files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) ); |
| 37 | 38 | |
| 38 | 39 | foreach ( $files_to_load as $file ) { |
| 39 | - if ( is_readable( $file ) ) { | |
| 40 | + if ( is_file( $file ) ) { | |
| 40 | 41 | require_once $file; |
| 41 | 42 | } |
| 42 | 43 | } |
| 43 | 44 | |