glastree_on_gitea

This commit is contained in:
2026-05-26 08:14:29 +02:00
commit 0bed099d05
9556 changed files with 1186307 additions and 0 deletions
@@ -0,0 +1,17 @@
<?php
if (PHP_VERSION_ID < 80500) {
exit(0);
}
$file = __DIR__.'/../vendor/laravel/framework/config/database.php';
if (! file_exists($file)) {
exit(0);
}
file_put_contents($file, str_replace(
'PDO::MYSQL_ATTR_SSL_CA',
'(PHP_VERSION_ID >= 80500 ? Pdo\\Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA)',
file_get_contents($file),
));