install/upgrade_run_final.php 1 location
|
@@ 220-227 (lines=8) @@
|
| 217 |
|
$any_settings = false; |
| 218 |
|
|
| 219 |
|
$result = mysqli_query($db_link, "SELECT * FROM `".$pre."misc` WHERE `type` = 'admin'"); |
| 220 |
|
while ($row = mysqli_fetch_assoc($result)) { |
| 221 |
|
// append new setting in config file |
| 222 |
|
$config_text .= " |
| 223 |
|
'".$row['intitule']."' => '".$row['valeur']."',"; |
| 224 |
|
if ($any_settings === false) { |
| 225 |
|
$any_settings = true; |
| 226 |
|
} |
| 227 |
|
} |
| 228 |
|
mysqli_free_result($result); |
| 229 |
|
|
| 230 |
|
// write to config file |
install/upgrade_run_2.1.27.php 1 location
|
@@ 745-752 (lines=8) @@
|
| 742 |
|
$any_settings = false; |
| 743 |
|
|
| 744 |
|
$result = mysqli_query($db_link, "SELECT * FROM `".$pre."misc` WHERE type = 'admin'"); |
| 745 |
|
while ($row = mysqli_fetch_assoc($result)) { |
| 746 |
|
// append new setting in config file |
| 747 |
|
$config_text .= " |
| 748 |
|
'".$row['intitule']."' => '".$row['valeur']."',"; |
| 749 |
|
if ($any_settings === false) { |
| 750 |
|
$any_settings = true; |
| 751 |
|
} |
| 752 |
|
} |
| 753 |
|
mysqli_free_result($result); |
| 754 |
|
|
| 755 |
|
// write to config file |