modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-09-12 11:44:58 +04:00
parent 88c0ebf1c2
commit be38f7eb6e
2 changed files with 1 additions and 15 deletions

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PhpTestFrameworkVersionCache">
<tools_cache>
<tool tool_name="PHPUnit">
<cache>
<versions>
<info id="Local/vendor/autoload.php" version="9.6.20" />
</versions>
</cache>
</tool>
</tools_cache>
</component>
</project>

View File

@ -120,7 +120,7 @@ class app {
} }
$this->name = $name; $this->name = $name;
$this->title = $params["title"] ?? null; $this->title = $params["title"] ?? null;
$appcode = strtoupper($appcode); $appcode = str_replace("-", "_", strtoupper($appcode));
# profile # profile
$profile = getenv("${appcode}_PROFILE"); $profile = getenv("${appcode}_PROFILE");
if ($profile === false) $profile = getenv("APP_PROFILE"); if ($profile === false) $profile = getenv("APP_PROFILE");