translation update22
This commit is contained in:
parent
32a53bae23
commit
a8bbec67c9
@ -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;
|
||||
|
||||
BIN
assets/images/products/prod_699da7aa10ada.jpg
Normal file
BIN
assets/images/products/prod_699da7aa10ada.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
Loading…
x
Reference in New Issue
Block a user