This commit is contained in:
ghassan committed 2026-04-16 20:02:41 +03:00
1 parent eb0d79d503
commit b03c1d4619
12446 files changed
+1647557 -24

No files matched your search

@@ -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),
));