Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!defined('BASEPATH')) exit('No direct script access allowed');
- class Validator extends MX_Controller{
- function index()
- {
- }
- function validator()
- {
- $array = $this->uri->uri_to_assoc(3);
- $data['response'] = $array['value'];
- $this->load_view($data);
- }
- function load_view($data = null)
- {
- $data['module'] = "validator";
- $data['view_file'] = "validator";
- echo Modules::run('template/admin', $data);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment