roundcubemail/program/include/rcmail_install.php
public function list_skins()
    {
        $skins   = array();
        $skindir = INSTALL_PATH . 'skins/';

        foreach (glob($skindir . '*') as $path) {
            if (is_dir($path) && is_readable($path)) {
                $skins[] = substr($path, strlen($skindir));
            }
        }

        return $skins;
    }
public function list_skins()
    {
        $skins   = array();
        $skindir = INSTALL_PATH . 'skins/';

        foreach (glob($skindir . '*') as $path) {
            if (is_dir($path) && is_readable($path)) {
                $skins[] = substr($path, strlen($skindir));
            }
        }

        return $skins;
    }
public function list_skins ( ) { $ skins = array ( ) ; $ skindir = INSTALL_PATH . 'skins/' ; foreach ( glob ( $ skindir . '*' ) as $ path ) { if ( is_dir ( $ path ) && is_readable ( $ path ) ) { $ skins [ ] = substr ( $ path , strlen ( $ skindir ) ) ; } } return $ skins ; }
Return a list with available subfolders of the skin directory
Return a list with available subfolders of the skin directory