eastside/application/controllers/masters/Ajax_Master_Controller.php
Linus Miller cd141ef6fa Initial commit.
Former-commit-id: d2e17d67fe98124db4e87b10597af9d54d14d0de
2013-12-07 17:43:26 +01:00

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 */