From f0e8dc942c0297f95c40fe9ea7dcc19ecb1e0589 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Aug 2024 15:03:30 +0900 Subject: [PATCH] change .env --- .env | 6 +++--- lib/Core/Model.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index b59efb5..23ae459 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ [db] -dsn="mysql:host=localhost;dbname=wordpress;charset=UTF8" -id="wordpress" -passwd="12clqkidc@!" \ No newline at end of file +dsn="mysql:host=localhost;dbname=LvZone;charset=UTF8" +id="LvZone" +passwd="Gotjd719248!" diff --git a/lib/Core/Model.php b/lib/Core/Model.php index ad7c927..1a467ba 100644 --- a/lib/Core/Model.php +++ b/lib/Core/Model.php @@ -29,7 +29,7 @@ abstract class Model final public function getDB() { if ($this->_db === null) { - $envs = parse_ini_file(APP . DIRECTORY_SEPARATOR . ".env.ini", true); + $envs = parse_ini_file(APP . DIRECTORY_SEPARATOR . ".env", true); if (!$envs) { throw new Exception(var_export($envs, true)); }