mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
Add method to retrieve kernel
This commit is contained in:
@@ -21,7 +21,7 @@ require_once __DIR__ . '/../Alchemy/Phrasea/Kernel.php';
|
|||||||
class bootstrap
|
class bootstrap
|
||||||
{
|
{
|
||||||
|
|
||||||
static $kernel;
|
protected static $kernel;
|
||||||
|
|
||||||
public static function set_php_configuration()
|
public static function set_php_configuration()
|
||||||
{
|
{
|
||||||
@@ -43,6 +43,15 @@ class bootstrap
|
|||||||
|
|
||||||
return static::$kernel;
|
return static::$kernel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @return Alchemy\Phrasea\Kernel
|
||||||
|
*/
|
||||||
|
public static function getKernel()
|
||||||
|
{
|
||||||
|
return static::$kernel;
|
||||||
|
}
|
||||||
|
|
||||||
public static function register_autoloads()
|
public static function register_autoloads()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user