nonfinal_patch.diff

Colin Mollenhour, 04/19/2009 08:10 pm

Download (1.2 kB)

 
index.php (working copy)
96 96
}
97 97
else
98 98
{
99
	// Load Kohana_Core
100
	require SYSPATH.'core/Kohana'.EXT;
101
	class Kohana extends Kohana_Core {}
102
	
99 103
	// Initialize Kohana
100 104
	require SYSPATH.'core/Bootstrap'.EXT;
101 105
}
system/core/Bootstrap.php (working copy)
31 31
// Load core files
32 32
require SYSPATH.'core/utf8'.EXT;
33 33
require SYSPATH.'core/Event'.EXT;
34
require SYSPATH.'core/Kohana'.EXT;
35 34

  
36 35
// Prepare the environment
37 36
Kohana::setup();
system/core/Kohana.php (working copy)
9 9
 * @copyright  (c) 2007-2008 Kohana Team
10 10
 * @license    http://kohanaphp.com/license.html
11 11
 */
12
final class Kohana {
12
abstract class Kohana_Core {
13 13

  
14 14
	// The singleton instance of the controller
15 15
	public static $instance;