From fffd75122fd3dcbaf4d601a70b30fccfdc4792e2 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 16 Mar 2023 13:02:17 -0400 Subject: [PATCH] Update DB dependency --- composer.json | 13 +++++-------- index.php | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 1b47692d..5e7a999a 100644 --- a/composer.json +++ b/composer.json @@ -27,10 +27,7 @@ } }, "config": { - "lock": false, - "platform": { - "php": "8" - } + "lock": false }, "require": { "amphp/amp": "^2.5.0", @@ -39,18 +36,18 @@ "aura/router": "^3.1.0", "aura/session": "^2.1.0", "aviat/banker": "^3.0.0", - "aviat/query": "^3.0.0", - "danielstjules/stringy": "^3.1.0", + "aviat/query": "^4.0.0", "ext-dom": "*", + "ext-gd": "*", "ext-intl": "*", "ext-json": "*", - "ext-gd": "*", + "ext-mbstring": "*", "ext-pdo": "*", "laminas/laminas-diactoros": "^2.5.0", "laminas/laminas-httphandlerrunner": "^2.1.0", "maximebf/consolekit": "^1.0.3", "monolog/monolog": "^2.0.2", - "php": ">= 8.0.0", + "php": ">= 8.1.0", "psr/http-message": "^1.0.1", "psr/log": "*", "symfony/polyfill-mbstring": "^1.0.0", diff --git a/index.php b/index.php index dfbc7356..615c6086 100644 --- a/index.php +++ b/index.php @@ -35,7 +35,7 @@ $CONF_DIR = _dir($APP_DIR, 'config'); // ----------------------------------------------------------------------------- // Dependency Injection setup // ----------------------------------------------------------------------------- -$baseConfig = require "{$APPCONF_DIR}/base_config.php"; +$baseConfig = require _dir($APPCONF_DIR, 'base_config.php'); $di = require "{$APP_DIR}/bootstrap.php"; $config = loadConfig($CONF_DIR);