diff --git a/_config.php b/_config.php new file mode 100644 index 0000000..0322d49 --- /dev/null +++ b/_config.php @@ -0,0 +1,27 @@ +' . __('This server has no mail function, activityReport not send email report.') . '
'; +} + +activityReportLib::settingTab($core, __('Settings')); + +if ($core->auth->isSuperAdmin()) { + activityReportLib::settingTab($core, __('Super settings'), true); +} \ No newline at end of file diff --git a/index.php b/index.php index 8886a70..6a9ad83 100644 --- a/index.php +++ b/index.php @@ -43,11 +43,9 @@ if (!activityReport::hasMailer()) { echo '' . __('This server has no mail function, activityReport not send email report.') . '
'; } -activityReportLib::settingTab($core, __('Settings')); activityReportLib::logTab($core, __('Logs')); if ($core->auth->isSuperAdmin()) { - activityReportLib::settingTab($core, __('Super settings'), true); activityReportLib::logTab($core, __('Super logs'), true); } echo '