diff options
| author | spiderr <spider@viovio.com> | 2011-01-05 14:43:44 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-01-05 14:43:44 -0500 |
| commit | 983b637b3bad72f1e348d1b004a2c70f67a4a4dd (patch) | |
| tree | c4168125f0366709c89f68acd7cf3efb1c70a1b9 /icon_browser.php | |
| parent | 254dd8b30b5ff990f235fed956f131ecc73fee82 (diff) | |
| download | themes-983b637b3bad72f1e348d1b004a2c70f67a4a4dd.tar.gz themes-983b637b3bad72f1e348d1b004a2c70f67a4a4dd.tar.bz2 themes-983b637b3bad72f1e348d1b004a2c70f67a4a4dd.zip | |
fix icon browser for config/iconsets/ pathing
Diffstat (limited to 'icon_browser.php')
| -rw-r--r-- | icon_browser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/icon_browser.php b/icon_browser.php index be1d179..da9f100 100644 --- a/icon_browser.php +++ b/icon_browser.php @@ -58,7 +58,7 @@ $iconNames = array(); if( !empty( $_REQUEST['icon_style'] ) ) { $iconThemes = array( $_REQUEST['icon_style'] ); } else { - $iconThemes = scandir( CONFIG_PKG_PATH."styles/icons/" ); + $iconThemes = scandir( CONFIG_PKG_PATH."iconsets/" ); } foreach( $iconThemes as $iconStyle ) { @@ -77,7 +77,7 @@ $gBitSystem->display( 'bitpackage:themes/icon_browser.tpl', tra( 'Icon Listing' function icon_fetcher( $pStyle = DEFAULT_ICON_STYLE ) { $ret = array(); if( strpos( $pStyle, '.' ) !== 0 && $pStyle != 'CVS' ) { - $stylePath = CONFIG_PKG_PATH."styles/icons/".$pStyle; + $stylePath = CONFIG_PKG_PATH."iconsets/".$pStyle; if( is_dir( $stylePath."/large" )) { $handle = opendir( $stylePath."/large" ); while( FALSE !== ( $icon = readdir( $handle ))) { |
