adybee
asked on
help with zend, handle 503 error
I need to point a 503 error to an error controller that returns a 503 header
Does this look right?
class Errorhandler_Outage extends ZEND_Controller_Action {
/**
* errorAction
*/
public function errorAction(){
throw new Zend_Controller_Action_Exc eption(
$e->getMessage(), 503);
}
}
}
Does this look right?
class Errorhandler_Outage extends ZEND_Controller_Action {
/**
* errorAction
*/
public function errorAction(){
throw new Zend_Controller_Action_Exc
$e->getMessage(), 503);
}
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.