Skip to content

Commit

Permalink
feature 1502: Wrong path corrected (to check themeconf.inc.php existe…
Browse files Browse the repository at this point in the history
…nce)

git-svn-id: http://piwigo.org/svn/trunk@5419 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Mar 28, 2010
1 parent af4ed51 commit adda4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.inc.php
Expand Up @@ -694,7 +694,7 @@ function get_pwg_themes()
$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'];
}
Expand Down

0 comments on commit adda4f8

Please sign in to comment.