Update example_controller.php

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