From be38f7eb6e6e8ef0f2bb347250fba5998cdb5199 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Thu, 12 Sep 2024 11:44:58 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- .idea/php-test-framework.xml | 14 -------------- wip/app/app.php | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 .idea/php-test-framework.xml diff --git a/.idea/php-test-framework.xml b/.idea/php-test-framework.xml deleted file mode 100644 index c092999..0000000 --- a/.idea/php-test-framework.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/wip/app/app.php b/wip/app/app.php index 237aed0..1377ab2 100644 --- a/wip/app/app.php +++ b/wip/app/app.php @@ -120,7 +120,7 @@ class app { } $this->name = $name; $this->title = $params["title"] ?? null; - $appcode = strtoupper($appcode); + $appcode = str_replace("-", "_", strtoupper($appcode)); # profile $profile = getenv("${appcode}_PROFILE"); if ($profile === false) $profile = getenv("APP_PROFILE");