Bug Report #4224

Kohana::$config incorrectly initialized in Kohana_Core

Added by Allan Laal 9 months ago. Updated 3 months ago.

Status:Closed Start date:08/24/2011
Priority:Normal Due date:
Assignee:Isaiah DeRose-Wilson % Done:

100%

Category:Core
Target version:v3.2.1 Estimated time:0.10 hour
Resolution:fixed Points:1

Description

file: system/kohana/core.php
line: 339
code: Kohana::$config = new Kohana_Config;

This should be:
Kohana::$config = new Config;

Or else extending Config using application/config.php wont work at all.

Associated revisions

Revision 29fef91f
Added by Valery Bogdanov 3 months ago

The init() method instantiates the Kohana::$log and Kohana::$config properties only if they have not been done so previously. Also init() now correctly instantiates Config and not Kohana_Config. Fixes #4413 and fixes #4224

History

Updated by Allan Laal 7 months ago

anyone?

This issue still affects Kohana 3.2.0

Updated by Isaiah DeRose-Wilson 6 months ago

  • Status changed from New to Assigned
  • Assignee set to Isaiah DeRose-Wilson
  • Priority changed from Immediate to Normal
  • Target version set to v3.2.1

Updated by Isaiah DeRose-Wilson 3 months ago

  • Resolution set to fixed

Thanks for the pull request. Merged in 29fef91f89a

Adam Radwon wrote:

Fixed: https://github.com/kohana/core/pull/206

Updated by Isaiah DeRose-Wilson 3 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF