| 1 |
<?php |
| 2 |
/* |
| 3 |
+=====================================================================+ |
| 4 |
| ____ _ ____ __ _ _ | |
| 5 |
| / ___|___ __| | ___ | _ \ _ __ ___ / _(_) | ___ _ __ | |
| 6 |
| | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| | |
| 7 |
| | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | | |
| 8 |
| \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| | |
| 9 |
| | |
| 10 |
| (c) Jerome Bruandet ~ https://code-profiler.com/ | |
| 11 |
+=====================================================================+ |
| 12 |
Plugin Name: Code Profiler (mu-plugin) |
| 13 |
Plugin URI: https://code-profiler.com/ |
| 14 |
Description: Code Profiler's loader. Do not remove. |
| 15 |
Version: 1.0 |
| 16 |
Author: Jerome Bruandet |
| 17 |
Author URI: https://code-profiler.com/ |
| 18 |
License: GPLv3 or later |
| 19 |
*/ |
| 20 |
define('CODE_PROFILER_MU_ON', true); |
| 21 |
if ( isset( $_REQUEST['CODE_PROFILER_ON'] ) && |
| 22 |
preg_match('/^\d{10}\.\d+$/', $_REQUEST['CODE_PROFILER_ON'] ) ) { |
| 23 |
|
| 24 |
include_once WP_PLUGIN_DIR .'/code-profiler/lib/helper.php'; |
| 25 |
code_profiler_verify_key(); |
| 26 |
code_profiler_disable_opcode(); |
| 27 |
include_once WP_PLUGIN_DIR .'/code-profiler/lib/class-profiler.php'; |
| 28 |
} |
| 29 |
// ===================================================================== |
| 30 |
// EOF |
| 31 |
|