modifs.mineures sans commentaires
This commit is contained in:
parent
2f7b6fe5ad
commit
db89ff2abe
10
src/app.php
10
src/app.php
@ -103,12 +103,10 @@ class app {
|
||||
return unserialize($params);
|
||||
}
|
||||
|
||||
static function get_profile(): string {
|
||||
return self::get()->getProfile();
|
||||
}
|
||||
|
||||
static function is_production_mode(): bool {
|
||||
return self::get()->isProductionMode();
|
||||
static function get_profile(?bool &$productionMode=null): string {
|
||||
$app = self::get();
|
||||
$productionMode = $app->isProductionMode();
|
||||
return $app->getProfile();
|
||||
}
|
||||
|
||||
static function set_profile(?string $profile=null, ?bool $productionMode=null): void {
|
||||
|
Loading…
x
Reference in New Issue
Block a user