Update example_model.php

Add if (!defined('IN_INDEX') { exit('No access without index..'); }