Hey,

Ahh that's right. if i got a quarter for every time i mixed the two... :P

On Tue, May 5, 2009 at 1:03 PM, till <[email protected]> wrote:

> On Tue, May 5, 2009 at 11:57 AM, Vadim Gabriel <[email protected]> wrote:
> > Hey,
> >
> > According to the code it requires both parameters to be set. Other wise
> it
> > throws an exception.
> >
> > $namespace = $this->getNamespace();
> >         if ((null === $namespace)
> >             || (null === $this->getBasePath())
> >         ) {
> >             require_once 'Zend/Loader/Exception.php';
> >             throw new Zend_Loader_Exception('Resource loader requires
> both a
> > namespace and a base path for initialization');
> >         }
> >
>
> But null ist not an "empty" string. ;-)
>
> Till
>



-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to