Thread
:
Struggling with a basic "if" statement.
View Single Post
#
2
(
permalink
)
04-22-2008, 03:08 PM
Ewok
Junior Member
Join Date: Mar 2008
Location: Colorado SPrings
Posts: 16
PHP Code:
$auth
=
Zend_Auth
::
getInstance
();
if (!
$auth
->
hasIdentity
()) {
$this
->
_redirect
(
'/auth/login'
);
}
That's how I handle it. Hope it helps.
__________________
Give all victory and gain to others
Take all defeat and loss upon yourself
Ewok
View Public Profile
Send a private message to Ewok
Visit Ewok's homepage!
Find all posts by Ewok