Issues

ZF-9064: Zend_Log::_constructFromConfig require_once fails on Zend_Log_Exception.php

Issue Type: Bug Created: 2010-02-02T13:16:29.000+0000 Last Updated: 2010-02-02T20:21:33.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Benjamin Steininger (robo47) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Log

Related issues: Attachments: - Log.php.diff

Description

Instead of

<pre class="highlight">
        if (!is_array($config) || empty($config)) {
            require_once 'Zend_Log_Exception.php';
            throw new Zend_Log_Exception(
                'Configuration must be an array or instance of Zend_Config'
            );
        }

it should be

<pre class="highlight">
        if (!is_array($config) || empty($config)) {
            require_once 'Zend/Log/Exception.php';
            throw new Zend_Log_Exception(
                'Configuration must be an array or instance of Zend_Config'
            );
        }

Comments

Posted by Benjamin Steininger (robo47) on 2010-02-02T13:17:16.000+0000

diff-file

Posted by Satoru Yoshida (satoruyoshida) on 2010-02-02T20:21:31.000+0000

Thank You for Report, Solved in SVN r20864.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts