refactor: susun semula struktur folder — Laravel source ke src/

This commit is contained in:
Saufi
2026-05-19 15:58:35 +08:00
parent f052251b94
commit bf53c71b45
10806 changed files with 1385379 additions and 121 deletions

View File

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