Sources/Load.php 1 location
|
@@ 51-52 (lines=2) @@
|
| 48 |
|
$modSettings = array(); |
| 49 |
|
if (!$request) |
| 50 |
|
display_db_error(); |
| 51 |
|
while ($row = $smcFunc['db_fetch_row']($request)) |
| 52 |
|
$modSettings[$row[0]] = $row[1]; |
| 53 |
|
$smcFunc['db_free_result']($request); |
| 54 |
|
|
| 55 |
|
// Do a few things to protect against missing settings or settings with invalid values... |
other/install.php 1 location
|
@@ 1581-1582 (lines=2) @@
|
| 1578 |
|
// Only proceed if we can load the data. |
| 1579 |
|
if ($request) |
| 1580 |
|
{ |
| 1581 |
|
while ($row = $smcFunc['db_fetch_row']($request)) |
| 1582 |
|
$modSettings[$row[0]] = $row[1]; |
| 1583 |
|
$smcFunc['db_free_result']($request); |
| 1584 |
|
} |
| 1585 |
|
|