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

Reply via email to