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
This commit is contained in:
patdenice
2010-03-28 13:25:45 +00:00
parent af4ed51844
commit adda4f81b1
+1 -1
View File
@@ -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'];
}