blob: a320c3e5b780af14958bef3867e6ba942a507de5 [file] [log] [blame]
adminb0dd10f2006-08-25 17:25:49 +00001<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2
3/**
4 * Loads and instantiates validation class
5 *
6 * @access private called by the app controller
7 */
8
9if ( ! class_exists('CI_Validation'))
10{
11 require_once(BASEPATH.'libraries/Validation'.EXT);
12}
13
14$obj =& get_instance();
15$obj->validation = new CI_Validation();
16$obj->ci_is_loaded[] = 'validation';
17
18?>