Implement dark mode, bug report page, and schema dump

This commit is contained in:
2025-11-27 15:06:45 +08:00
parent 13bc6db529
commit 83602b1ed1
91 changed files with 1078 additions and 2291 deletions

View File

@@ -2,6 +2,11 @@
use Illuminate\Support\Str;
// Support PHP 8.5+ PDO MySQL constants without deprecation warnings
$mysqlSslCaOption = class_exists(\Pdo\Mysql::class)
? \Pdo\Mysql::ATTR_SSL_CA
: (defined('PDO::MYSQL_ATTR_SSL_CA') ? \PDO::MYSQL_ATTR_SSL_CA : null);
return [
/*
@@ -58,8 +63,8 @@ return [
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
'options' => extension_loaded('pdo_mysql') && $mysqlSslCaOption ? array_filter([
$mysqlSslCaOption => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],