Revize 18ac9009
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
system/libraries/Controller.php | ||
---|---|---|
* @author Kohana Team
|
||
* @copyright (c) 2007-2008 Kohana Team
|
||
* @license http://kohanaphp.com/license.html
|
||
*
|
||
*
|
||
* @property Loader $load
|
||
* @property URI $uri
|
||
* @property Input $input
|
||
... | ... | |
// Set the instance to the first controller loaded
|
||
Kohana::$instance = $this;
|
||
|
||
// Loader should always be available
|
||
$this->load = new Loader;
|
||
|
||
// Loader should always be available
|
||
$this->uri = new URI;
|
||
|
||
... | ... | |
}
|
||
else
|
||
{
|
||
// Loader should always be available
|
||
$this->load = Kohana::$instance->load;
|
||
|
||
// Loader should always be available
|
||
$this->uri = Kohana::$instance->uri;
|
||
|
Také k dispozici: Unified diff
Fix merge issue that removed all staff from developer branch :-).