Zend Framework

Zend_Log::_constructFromConfig require_once fails on Zend_Log_Exception.php

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.10.0
  • Fix Version/s: 1.10.1
  • Component/s: Zend_Log
  • Labels:
    None

Description

Instead of

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

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'
            );
        }

Activity

Hide
Benjamin Steininger added a comment -

diff-file

Show
Benjamin Steininger added a comment - diff-file
Hide
Satoru Yoshida added a comment -

Thank You for Report, Solved in SVN r20864.

Show
Satoru Yoshida added a comment - Thank You for Report, Solved in SVN r20864.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: