|
@@ 1996-1999 (lines=4) @@
|
| 1993 |
|
if ($change['type'] == 'modification') |
| 1994 |
|
{ |
| 1995 |
|
$contents = @file_get_contents($packagesdir . '/temp/' . $upcontext['base_path'] . $change['filename']); |
| 1996 |
|
if ($change['boardmod']) |
| 1997 |
|
$results = parseBoardMod($contents, true, $change['reverse'], $cur_theme_paths); |
| 1998 |
|
else |
| 1999 |
|
$results = parseModification($contents, true, $change['reverse'], $cur_theme_paths); |
| 2000 |
|
|
| 2001 |
|
// Are there any errors? |
| 2002 |
|
foreach ($results as $action) |
|
@@ 2017-2020 (lines=4) @@
|
| 2014 |
|
if ($change['type'] == 'modification') |
| 2015 |
|
{ |
| 2016 |
|
$contents = @file_get_contents($packagesdir . '/temp/' . $upcontext['base_path'] . $change['filename']); |
| 2017 |
|
if ($change['boardmod']) |
| 2018 |
|
$results = parseBoardMod($contents, false, $change['reverse'], $cur_theme_paths); |
| 2019 |
|
else |
| 2020 |
|
$results = parseModification($contents, false, $change['reverse'], $cur_theme_paths); |
| 2021 |
|
} |
| 2022 |
|
} |
| 2023 |
|
|