first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
class LogViewerController extends CI_Controller {
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->logViewer = new \CILogViewer\CILogViewer();
|
||||
//...
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
echo $this->logViewer->showLogs();
|
||||
return;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user