This commit is contained in:
Dave M. 2023-11-03 16:28:52 +00:00
commit 1241e188e9
3 changed files with 12 additions and 5 deletions

@ -1,6 +1,10 @@
{
"today": "today",
"week": "week",
"moment": {
"today": "today",
"week": "week"
},
"month": {
"list": [
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "Décember"

@ -1,6 +1,9 @@
{
"today": "aujourd'hui",
"week": "semaine",
"moment": {
"today": "aujourd'hui",
"week": "semaine"
},
"month": {
"list": [
"Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"

@ -43,7 +43,7 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
public function throw404(ServerRequestInterface $request) : ResponseInterface
{
if ( getenv('DEBUG') && class_exists(\Picea\Asset\Asset::class) ) {
if ( getenv('DEBUG') && $this->di->has(\Picea\Asset\Asset::class) ) {
$params = $request->getServerParams();
$scpName = basename(explode('?', $params['REQUEST_URI'] ?? "", 2)[0]);