Enable hooks and implement global login checking

Controllers that have to be publicly available can be
introduced in application/hooks/global.php
This commit is contained in:
Karsten Heiken
2011-08-01 10:40:37 +02:00
parent e0bbb76e0a
commit 17a986d9d0
3 changed files with 48 additions and 1 deletions

View File

@@ -10,6 +10,12 @@
|
*/
$hook['post_controller_constructor'] = array(
'class' => '',
'function' => 'check_login',
'filename' => 'global.php',
'filepath' => 'hooks'
);
/* End of file hooks.php */