From 7b7ce0e1345b43e8ed4c74083d1eae720d5b361e Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Tue, 9 Dec 2025 22:01:34 +0530 Subject: [PATCH] drift:v12.11.0 Sync from base tag v12.11.0 --- config/database.php | 4 ++-- config/session.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/database.php b/config/database.php index 53dcae024..c57fa638b 100644 --- a/config/database.php +++ b/config/database.php @@ -59,7 +59,7 @@ 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ - PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + (PHP_VERSION_ID >= 80500 ? \Pdo\Mysql::ATTR_SSL_CA : \PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'), ]) : [], ], @@ -79,7 +79,7 @@ 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ - PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + (PHP_VERSION_ID >= 80500 ? \Pdo\Mysql::ATTR_SSL_CA : \PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'), ]) : [], ], diff --git a/config/session.php b/config/session.php index bc45901e5..5b541b755 100644 --- a/config/session.php +++ b/config/session.php @@ -152,7 +152,7 @@ | | This value determines the domain and subdomains the session cookie is | available to. By default, the cookie will be available to the root - | domain and all subdomains. Typically, this shouldn't be changed. + | domain without subdomains. Typically, this shouldn't be changed. | */