diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-28 13:25:45 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-28 13:25:45 +0000 |
commit | adda4f81b17bc37939dcc4a8ffb5dab9338f6660 (patch) | |
tree | 509c8a5912d9e1fe74e6b4a65ee1c74c2f2f466a /include | |
parent | af4ed51844517a5a0dc64bdbdefa62d6de5353d9 (diff) |
feature 1502: Wrong path corrected (to check themeconf.inc.php existence)
git-svn-id: http://piwigo.org/svn/trunk@5419 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index b31a074a0..7519c3239 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -694,7 +694,7 @@ SELECT $result = pwg_query($query); while ($row = pwg_db_fetch_assoc($result)) { - if (file_exists($conf['themes_dir'].'/'.$row['name'].'/'.'themeconf.inc.php')) + if (file_exists($conf['themes_dir'].'/'.$row['id'].'/'.'themeconf.inc.php')) { $themes[ $row['id'] ] = $row['name']; } |