diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-02-23 12:47:09 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-02-23 12:47:09 +0000 |
commit | 0e722e2c1912f6df477a07feb561b80a1d6a33a7 (patch) | |
tree | 8e07b7a6e72c39f5ca52208b5780df7275ca210d /themes/mageia/page_header.php | |
parent | 070566880dbb45f4ec65c81abf03b8e4f3e178b8 (diff) | |
download | pkgsubmit-0e722e2c1912f6df477a07feb561b80a1d6a33a7.tar pkgsubmit-0e722e2c1912f6df477a07feb561b80a1d6a33a7.tar.gz pkgsubmit-0e722e2c1912f6df477a07feb561b80a1d6a33a7.tar.bz2 pkgsubmit-0e722e2c1912f6df477a07feb561b80a1d6a33a7.tar.xz pkgsubmit-0e722e2c1912f6df477a07feb561b80a1d6a33a7.zip |
Fix path to unmaintained.txt
Diffstat (limited to 'themes/mageia/page_header.php')
-rw-r--r-- | themes/mageia/page_header.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/mageia/page_header.php b/themes/mageia/page_header.php index 2f3ee7e..300a16d 100644 --- a/themes/mageia/page_header.php +++ b/themes/mageia/page_header.php @@ -19,7 +19,8 @@ if (!isset($_GET['package'])) { // TODO should be cached. $missing_deps_count = preg_match_all("/<item>/m", file_get_contents("http://check.mageia.org/cauldron/dependencies.rss"), $matches); - $unmaintained_count = file_exists(__DIR__ . '/data/unmaintained.txt') ? count(file(__DIR__ . '/data/unmaintained.txt')) : 0; + $unmaintained_file = $g_webapp_dir . '/data/unmaintained.txt'; + $unmaintained_count = file_exists($unmaintained_file) ? count(file($unmaintained_file)) : 0; if ($missing_deps_count > 0 || $unmaintained_count > 0 |