PHPDoc added
This commit is contained in:
parent
1f14ba6aed
commit
fda37ea09c
|
@ -69,8 +69,9 @@ class OC {
|
|||
* check if owncloud runs in cli mode
|
||||
*/
|
||||
public static $CLI = false;
|
||||
/*
|
||||
* OC router
|
||||
|
||||
/**
|
||||
* @var OC_Router
|
||||
*/
|
||||
protected static $router = null;
|
||||
|
||||
|
@ -344,6 +345,9 @@ class OC {
|
|||
return OC_Config::getValue('session_lifetime', 60 * 60 * 24);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return OC_Router
|
||||
*/
|
||||
public static function getRouter() {
|
||||
if (!isset(OC::$router)) {
|
||||
OC::$router = new OC_Router();
|
||||
|
|
Loading…
Reference in New Issue