| @@ 1228-1235 (lines=8) @@ | ||
| 1225 | ||
| 1226 | $js_files = array(); |
|
| 1227 | ||
| 1228 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
| 1229 | { |
|
| 1230 | $js_files[$row['id_file']] = array( |
|
| 1231 | 'filename' => $row['filename'], |
|
| 1232 | 'path' => $row['path'], |
|
| 1233 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
| 1234 | ); |
|
| 1235 | } |
|
| 1236 | ||
| 1237 | $smcFunc['db_free_result']($request); |
|
| 1238 | ||
| @@ 1448-1455 (lines=8) @@ | ||
| 1445 | ); |
|
| 1446 | ||
| 1447 | $js_files = array(); |
|
| 1448 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
| 1449 | { |
|
| 1450 | $js_files[$row['id_file']] = array( |
|
| 1451 | 'filename' => $row['filename'], |
|
| 1452 | 'path' => $row['path'], |
|
| 1453 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
| 1454 | ); |
|
| 1455 | } |
|
| 1456 | $smcFunc['db_free_result']($request); |
|
| 1457 | ||
| 1458 | // We're gonna need fetch_web_data() to pull this off. |
|