| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Plugin Name: Debug Log Viewer |
| 5 |
* Description: Simplifies the process of reviewing and managing your WordPress debug.log file. |
| 6 |
|
| 7 |
* Author: lysyiweb |
| 8 |
* Version: 1.2 |
| 9 |
* Tags: debug, logging, WP_DEBUG, error-tracking |
| 10 |
* Requires PHP: 5.4 |
| 11 |
* Tested up to: 6.7.1 |
| 12 |
* Stable tag: 1.2 |
| 13 |
* License: GPLv2 or later |
| 14 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 15 |
*/ |
| 16 |
if (!defined('ABSPATH')) { |
| 17 |
exit; |
| 18 |
} |
| 19 |
|
| 20 |
require_once realpath(__DIR__) . '/admin/helpers/constants.php'; |
| 21 |
require_once realpath(__DIR__) . '/admin/translations/phrases.php'; |
| 22 |
|
| 23 |
$controllers = [ 'Hooks', 'Menu', 'Log', 'Service', 'Notificator', 'Review', 'Freemius']; |
| 24 |
|
| 25 |
foreach ($controllers as $controller) { |
| 26 |
require_once realpath(__DIR__) . "/admin/controllers/{$controller}Controller.php"; |
| 27 |
} |
| 28 |
|
| 29 |
DBG_LV_MenuController::dbg_lv_init(); |
| 30 |
DBG_LV_HooksController::dbg_lv_init(); |
| 31 |
DBG_LV_FreemiusController::dbg_lv_init(); |
| 32 |
|