| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/google-analytics-for-wordpress/lite/includes/ |
Upload File : |
<?php
if ( is_admin() ) {
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/tools.php';
//require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/tab-support.php';
$overview_report = new MonsterInsights_Report_Overview();
MonsterInsights()->reporting->add_report( $overview_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-publisher.php';
$publisher_report = new MonsterInsights_Lite_Report_Publisher();
MonsterInsights()->reporting->add_report( $publisher_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-ecommerce.php';
$ecommerce_report = new MonsterInsights_Lite_Report_eCommerce();
MonsterInsights()->reporting->add_report( $ecommerce_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-queries.php';
$queries_report = new MonsterInsights_Lite_Report_Queries();
MonsterInsights()->reporting->add_report( $queries_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-dimensions.php';
$dimensions_report = new MonsterInsights_Lite_Report_Dimensions();
MonsterInsights()->reporting->add_report( $dimensions_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-forms.php';
$forms_report = new MonsterInsights_Lite_Report_Forms();
MonsterInsights()->reporting->add_report( $forms_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-realtime.php';
$realtime_report = new MonsterInsights_Lite_Report_RealTime();
MonsterInsights()->reporting->add_report( $realtime_report );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/reports/report-year-in-review.php';
$year_in_review = new MonsterInsights_Lite_Report_YearInReview();
MonsterInsights()->reporting->add_report( $year_in_review );
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/dashboard-widget.php';
new MonsterInsights_Dashboard_Widget();
// Load the Welcome class.
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/welcome.php';
// Load the MonsterInsights Connect class.
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/connect.php';
if ( isset( $_GET['page'] ) && 'monsterinsights-onboarding' === $_GET['page'] ) { // WPCS: CSRF ok, input var ok.
// Only load the Onboarding wizard if the required parameter is present.
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/onboarding-wizard.php';
}
// Site Health logic.
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/wp-site-health.php';
// Helper functions specific to this version of the plugin.
require_once MONSTERINSIGHTS_PLUGIN_DIR . 'lite/includes/admin/helpers.php';
}