webservice/application/controllers/IndexController.php
2010-09-13 09:53:55 +00:00

26 lines
343 B
PHP

<?php
class IndexController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function preDispatch()
{
$auth = Zend_Auth::getInstance();
if (!$auth->hasIdentity()){
$this->_redirect('/user/login');
}
}
public function indexAction()
{
}
}