| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | | | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| | |
| 7 | 7 | | | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | | |
| 8 | 8 | | \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| | |
| 9 | 9 | | | |
| 10 | - | (c) Jerome Bruandet ~ https://code-profiler.com/ | | |
| 10 | + | (c) Jerome Bruandet ~ https://nintechnet.com/codeprofiler/ | | |
| 11 | 11 | +=====================================================================+ |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | 14 | if (! defined('ABSPATH') ) { |
| @@ -264,9 +264,9 @@ | ||
| 264 | 264 | */ |
| 265 | 265 | function fetch_profiles() { |
| 266 | 266 | |
| 267 | 267 | $profiles = []; |
| 268 | - $glob = glob( CODE_PROFILER_UPLOAD_DIR .'/*.slugs.profile'); | |
| 268 | + $glob = code_profiler_glob( CODE_PROFILER_UPLOAD_DIR, '\.slugs\.profile$', true ); | |
| 269 | 269 | |
| 270 | 270 | if ( is_array( $glob ) ) { |
| 271 | 271 | $count = 0; |
| 272 | 272 | foreach( $glob as $path ) { |