| @@ 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 | ||
| @@ 1429-1436 (lines=8) @@ | ||
| 1426 | ); |
|
| 1427 | ||
| 1428 | $js_files = array(); |
|
| 1429 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
| 1430 | { |
|
| 1431 | $js_files[$row['id_file']] = array( |
|
| 1432 | 'filename' => $row['filename'], |
|
| 1433 | 'path' => $row['path'], |
|
| 1434 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
| 1435 | ); |
|
| 1436 | } |
|
| 1437 | $smcFunc['db_free_result']($request); |
|
| 1438 | ||
| 1439 | // We're gonna need fetch_web_data() to pull this off. |
|