summaryrefslogtreecommitdiff
path: root/icon_browser.php
diff options
context:
space:
mode:
authortekimaki <will@tekimaki.com>2010-06-24 23:35:01 -0400
committertekimaki <will@tekimaki.com>2010-06-24 23:35:01 -0400
commit73cc02705fbb12abf27c0e09523fa29e18c98086 (patch)
treedcfdba32b5c65039adc00209d6f9818e1a5c784f /icon_browser.php
parent0558e912dec0687a92515da1d768344e6cc0ba65 (diff)
downloadthemes-73cc02705fbb12abf27c0e09523fa29e18c98086.tar.gz
themes-73cc02705fbb12abf27c0e09523fa29e18c98086.tar.bz2
themes-73cc02705fbb12abf27c0e09523fa29e18c98086.zip
fix some icon paths we missed
Diffstat (limited to 'icon_browser.php')
-rw-r--r--icon_browser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/icon_browser.php b/icon_browser.php
index 54ad3f6..be1d179 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( THEMES_PKG_PATH."icon_styles/" );
+ $iconThemes = scandir( CONFIG_PKG_PATH."styles/icons/" );
}
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 = THEMES_PKG_PATH."icon_styles/".$pStyle;
+ $stylePath = CONFIG_PKG_PATH."styles/icons/".$pStyle;
if( is_dir( $stylePath."/large" )) {
$handle = opendir( $stylePath."/large" );
while( FALSE !== ( $icon = readdir( $handle ))) {