translation update22

This commit is contained in:
Flatlogic Bot 2026-02-24 13:31:03 +00:00
parent 32a53bae23
commit a8bbec67c9
2 changed files with 2 additions and 2 deletions

View File

@ -66,10 +66,10 @@ if (empty($projectUuid) || empty($projectId)) {
foreach ($possibleDbPaths as $dbPath) {
if (file_exists($dbPath) && is_readable($dbPath)) {
$content = file_get_contents($dbPath);
if (empty($projectUuid) && preg_match("/define\s*\(\s*['"]DB_PASS['"]\s*,\s*['"]([^'"]+)['"]\s*)/", $content, $m)) {
if (empty($projectUuid) && preg_match('/define\s*\(\s*[\'"]DB_PASS[\'"]\s*,\s*[\'"]([^\'"]+)[\'"]\s*\)/', $content, $m)) {
$projectUuid = $m[1];
}
if (empty($projectId) && preg_match("/define\s*\(\s*['"]DB_NAME['"]\s*,\s*['"]app_(\d+)['"]\s*)/", $content, $m)) {
if (empty($projectId) && preg_match('/define\s*\(\s*[\'"]DB_NAME[\'"]\s*,\s*[\'"]app_(\d+)[\'"]\s*\)/', $content, $m)) {
$projectId = $m[1];
}
if (!empty($projectUuid)) break;

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB