Add and use an action to get the project language

This commit is contained in:
Oliver Davies 2024-02-22 21:04:40 +00:00
parent 8c9f36151b
commit ccbae0ed36
17 changed files with 2328 additions and 51 deletions

13
tests/bootstrap.php Normal file
View file

@ -0,0 +1,13 @@
<?php
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}
if ($_SERVER['APP_DEBUG']) {
umask(0000);
}