Sources/Load.php 1 location
|
@@ 47-48 (lines=2) @@
|
| 44 |
|
$modSettings = array(); |
| 45 |
|
if (!$request) |
| 46 |
|
display_db_error(); |
| 47 |
|
while ($row = $smcFunc['db_fetch_row']($request)) |
| 48 |
|
$modSettings[$row[0]] = $row[1]; |
| 49 |
|
$smcFunc['db_free_result']($request); |
| 50 |
|
|
| 51 |
|
// Do a few things to protect against missing settings or settings with invalid values... |
other/install.php 1 location
|
@@ 1556-1557 (lines=2) @@
|
| 1553 |
|
// Only proceed if we can load the data. |
| 1554 |
|
if ($request) |
| 1555 |
|
{ |
| 1556 |
|
while ($row = $smcFunc['db_fetch_row']($request)) |
| 1557 |
|
$modSettings[$row[0]] = $row[1]; |
| 1558 |
|
$smcFunc['db_free_result']($request); |
| 1559 |
|
} |
| 1560 |
|
|