Changeset 5306 for trunk/include/functions.inc.php
- Timestamp:
- Mar 24, 2010, 2:36:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r5211 r5306 687 687 function get_pwg_themes() 688 688 { 689 global $conf; 690 689 691 $themes = array(); 690 692 … … 699 701 while ($row = pwg_db_fetch_assoc($result)) 700 702 { 701 $themes[ $row['id'] ] = $row['name']; 703 if (file_exists($conf['themes_dir'].'/'.$row['name'].'/'.'themeconf.inc.php')) 704 { 705 $themes[ $row['id'] ] = $row['name']; 706 } 702 707 } 703 708
Note: See TracChangeset
for help on using the changeset viewer.