diff --git a/html/geticon.php b/html/geticon.php index 2c7c7c419bbe9f0ae07a2fcf3a24cad05fae7f8e..334d254d952bb4c72467c98e6ee2b50076fb7034 100644 --- a/html/geticon.php +++ b/html/geticon.php @@ -34,7 +34,6 @@ if (session::global_is_set('config')) { } else { header("cache-control: no-cache"); } -IconTheme::$default_theme = 'breezy'; IconTheme::$extensions = array('png'); if (!isset($_GET['context']) || !isset($_GET['icon']) || !isset($_GET['size'])) { trigger_error('Missing information in query string: '.$_SERVER['QUERY_STRING']); diff --git a/include/class_IconTheme.inc b/include/class_IconTheme.inc index 895d8e830013c90aa5a4ced22cef8e06ab255188..ea416e0b454e7ca579d45016e3955af79637348f 100644 --- a/include/class_IconTheme.inc +++ b/include/class_IconTheme.inc @@ -188,7 +188,7 @@ class IconTheme return NULL; } - static public $default_theme = 'default'; + static public $default_theme = 'breezy'; static public $extensions = array('png', 'xpm', 'svg'); static public $find_closest = FALSE; @@ -202,7 +202,7 @@ class IconTheme if (file_exists("$path/$file/index.theme") && !preg_match("/^\./", $file)) { try { if ($file == static::$default_theme) { - $themes[$file] = new IconTheme("$path/$file", NULL); + $themes[$file] = new IconTheme("$path/$file", NULL); } else { $themes[$file] = new IconTheme("$path/$file", static::$default_theme); }