14 lines
407 B
PHP
14 lines
407 B
PHP
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
|
class Ajax_Master_Controller extends CI_Controller {
|
|
public function __construct() {
|
|
parent::__construct();
|
|
if(!$this->input->is_ajax_request()) {
|
|
echo "Only Ajax request allowed.";
|
|
exit(0);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* End of file Ajax_Master_Controller.php */
|
|
/* Location: ./application/controllers/masters/Ajax_Master_Controller.php */
|