webservice/application/controllers/IndexController.php

26 lines
343 B
PHP
Raw Normal View History

2010-08-30 07:49:44 +00:00
<?php
class IndexController extends Zend_Controller_Action
{
2010-09-13 09:53:55 +00:00
public function init()
2010-08-30 07:49:44 +00:00
{
/* Initialize action controller here */
}
2010-09-13 09:53:55 +00:00
public function preDispatch()
{
$auth = Zend_Auth::getInstance();
if (!$auth->hasIdentity()){
$this->_redirect('/user/login');
}
}
2010-08-30 07:49:44 +00:00
public function indexAction()
{
}
2010-09-13 09:53:55 +00:00
2010-08-30 07:49:44 +00:00
}