@@ 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 |
@@ 1568-1575 (lines=8) @@ | ||
1565 | ); |
|
1566 | ||
1567 | $js_files = array(); |
|
1568 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
1569 | { |
|
1570 | $js_files[$row['id_file']] = array( |
|
1571 | 'filename' => $row['filename'], |
|
1572 | 'path' => $row['path'], |
|
1573 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
1574 | ); |
|
1575 | } |
|
1576 | $smcFunc['db_free_result']($request); |
|
1577 | ||
1578 | // We're gonna need fetch_web_data() to pull this off. |