Hello,

Well, my bad, forgot to think about all possible code usages.
Here's little bit more "full" code of Zend_Auth storage namespace
changer: http://gist.github.com/427440


2010/6/6 shahrzad khorrami <[email protected]>:
> thanksss...
> I'm testing..but it's an error in bootstrap for using of $request ... we
> can't use of $request in bootstrap :-/
>
> $auth = Zend_Auth::getInstance();
>
> if ('admin' == $request->getModuleName()) {
>     $namespace = Zend_Auth_Storage_Session::NAMESPACE_DEFAULT . '_Admin';
>     $auth->setStorage(new Zend_Auth_Storage_Session($namespace));
> }
>
> .
> .
> .
>
>
> thanks alot,
> shahrzad
>
>



-- 
Sincerely yours,
Aleksey V. Zapparov A.K.A. ixti
FSF Member #7118
Mobile Phone: +34 617 179 344
Homepage: http://www.ixti.ru
JID: [email protected]

*Origin: Happy Hacking!

Reply via email to