mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user