diff options
-rw-r--r-- | non-mandatory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/non-mandatory.php b/non-mandatory.php index f6f5129..6b73568 100644 --- a/non-mandatory.php +++ b/non-mandatory.php @@ -62,7 +62,7 @@ echo "<table>\n"; $status_file = $upload_dir . '/failure/' . $p['path'] . '/log/status.log'; $status_line = trim(preg_replace('/.*: /', '', file_get_contents($status_file))); if ($status_line == 'missing_dep') { - $install_deps_files = glob($upload_dir . '/failure/' . $p['path'] . '/log/' . $p['package'] . '/install_deps*.log'); + $install_deps_files = glob($upload_dir . '/failure/' . $p['path'] . '/log/*/install_deps*.log'); $install_deps_file = $install_deps_files[count($install_deps_files)-1]; $f = fopen($install_deps_file, "r"); $dep_line = ""; |