mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
1273c32419
- Renamed directory views/system/jobs to views/system/logs - Changed FilterWidget query in view system/logs/logsViewerData.php to load all logs - Added more filters in database to load different log types
45 lines
721 B
PHP
45 lines
721 B
PHP
<?php
|
|
|
|
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Overview on cronjob logs
|
|
*/
|
|
class LogsViewer extends Auth_Controller
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
array(
|
|
'index' => 'admin:r'
|
|
)
|
|
);
|
|
|
|
// Loads WidgetLib
|
|
$this->load->library('WidgetLib');
|
|
|
|
// Loads phrases system
|
|
$this->loadPhrases(
|
|
array(
|
|
'global',
|
|
'ui',
|
|
'filter'
|
|
)
|
|
);
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------------------------------------------
|
|
// Public methods
|
|
|
|
/**
|
|
* Main page of the InfoCenter tool
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->load->view('system/logs/logsViewer.php');
|
|
}
|
|
}
|