mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +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
|
||||
{
|
||||
|
||||
static $kernel;
|
||||
protected static $kernel;
|
||||
|
||||
public static function set_php_configuration()
|
||||
{
|
||||
@@ -43,6 +43,15 @@ class bootstrap
|
||||
|
||||
return static::$kernel;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Alchemy\Phrasea\Kernel
|
||||
*/
|
||||
public static function getKernel()
|
||||
{
|
||||
return static::$kernel;
|
||||
}
|
||||
|
||||
public static function register_autoloads()
|
||||
{
|
||||
|
Reference in New Issue
Block a user