Bladeren bron

ZF-9390: Zend_Log::factory() should use self instead of Zend_Log

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22976 44c647ce-9c0f-0410-b52a-842ac1e357ba
intiilapa 15 jaren geleden
bovenliggende
commit
e9dcf12bb3
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      library/Zend/Log.php

+ 1 - 1
library/Zend/Log.php

@@ -128,7 +128,7 @@ class Zend_Log
             throw new Zend_Log_Exception('Configuration must be an array or instance of Zend_Config');
             throw new Zend_Log_Exception('Configuration must be an array or instance of Zend_Config');
         }
         }
 
 
-        $log = new Zend_Log;
+        $log = new self;
 
 
         if (!is_array(current($config))) {
         if (!is_array(current($config))) {
             $log->addWriter(current($config));
             $log->addWriter(current($config));