diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index acc9366..71c19aa 100755 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -32,8 +32,6 @@ App::uses('Controller', 'Controller'); */ class AppController extends Controller { - public $components = array('Security','MiconwareSession'); - function beforeFilter(){ parent::beforeFilter(); } diff --git a/app/Controller/HomeController.php b/app/Controller/HomeController.php index ddfd24f..3b1b451 100755 --- a/app/Controller/HomeController.php +++ b/app/Controller/HomeController.php @@ -9,6 +9,7 @@ class HomeController extends AppController { * * @var array */ + public $components = array('Security','MiconwareSession'); public $uses = array(); /** diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index 0f07c71..d75e7bb 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -9,6 +9,7 @@ class JobController extends AppController { * * @var array */ + public $components = array('Security','MiconwareSession'); public $uses = array('DreamjobJobOpening','DreamjobJobFavority','DreamjobJobApplication'); /** diff --git a/app/Controller/UserController.php b/app/Controller/UserController.php index 9c07da3..5242ab3 100755 --- a/app/Controller/UserController.php +++ b/app/Controller/UserController.php @@ -9,6 +9,7 @@ class UserController extends AppController { * * @var array */ + public $components = array('Security','MiconwareSession'); public $uses = array('DreamjobListGraducation','DreamjobWorker','DreamjobCompany','DreamjobPageText','DreamjobPageImage','DreamjobJobOpening'); /**