|
@@ 1013-1014 (lines=2) @@
|
| 1010 |
|
global $txt, $boarddir, $sourcedir, $modSettings, $context, $settings, $forum_version, $smcFunc; |
| 1011 |
|
|
| 1012 |
|
// Now include the file and be done with it ;). |
| 1013 |
|
if (file_exists($packagesdir . '/temp/' . $context['base_path'] . $action['filename'])) |
| 1014 |
|
require($packagesdir . '/temp/' . $context['base_path'] . $action['filename']); |
| 1015 |
|
} |
| 1016 |
|
elseif ($action['type'] == 'credits') |
| 1017 |
|
{ |
|
@@ 1045-1046 (lines=2) @@
|
| 1042 |
|
db_extend('packages'); |
| 1043 |
|
|
| 1044 |
|
// Let the file work its magic ;) |
| 1045 |
|
if (file_exists($packagesdir . '/temp/' . $context['base_path'] . $action['filename'])) |
| 1046 |
|
require($packagesdir . '/temp/' . $context['base_path'] . $action['filename']); |
| 1047 |
|
} |
| 1048 |
|
// Handle a redirect... |
| 1049 |
|
elseif ($action['type'] == 'redirect' && !empty($action['redirect_url'])) |