Store the authentication status internally in the router so that it can be used outside the included file

develop
Sven Slootweg 12 years ago
parent 9d08020a8d
commit 46ea50e6b0

@ -120,10 +120,12 @@ class CPHPRouter extends CPHPBaseClass
if($authenticated === true)
{
$destination = $route_destination['target'];
$this->sAuthenticated = true;
}
else
{
$destination = $sRouterErrorDestination;
$this->sAuthenticated = false;
}
}
else

Loading…
Cancel
Save