Initial commit as of 2018-10-16
This commit is contained in:
25
application/controllers/Tools/Encoder.php
Normal file
25
application/controllers/Tools/Encoder.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Encoder extends MY_Controller {
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct('tools');
|
||||
}
|
||||
|
||||
public function base64() {
|
||||
$this->load->view('header', ['active' => 'base64-encoder', 'title' => lang('base64_site_title')]);
|
||||
// $this->load->view('encoder', ['type' => 'base64']);
|
||||
$this->load->view('tools/encoders/base64');
|
||||
$this->load->view('footer');
|
||||
// $this->load->view('encoder_end', ['type' => 'base64']);
|
||||
}
|
||||
|
||||
public function url() {
|
||||
$this->load->view('header', ['active' => 'url-encoder', 'title' => lang('url_site_title')]);
|
||||
// $this->load->view('encoder', ['type' => 'url']);
|
||||
$this->load->view('tools/encoders/url');
|
||||
$this->load->view('footer');
|
||||
// $this->load->view('encoder_end', ['type' => 'url']);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user