alecpl
2009-05-25 7dbe2fa6bf629e1089c61a7bb89885e9936de8a9
program/include/rcube_template.php
@@ -339,10 +339,10 @@
            $plugin = $temp[0];
            $name = $temp[1];
            $skin_dir = $plugin . '/skins/' . $this->config['skin'];
            $skin_path = $this->config['plugins_dir'] . '/' . $skin_dir;
            $skin_path = $this->app->plugins->dir . $skin_dir;
            if (!is_dir($skin_path)) {  // fallback to default skin
                $skin_dir = $plugin . '/skins/default';
                $skin_path = $this->config['plugins_dir'] . '/' . $skin_dir;
                $skin_path = $this->app->plugins->dir . $skin_dir;
            }
        }