Ignore:
Timestamp:
Mar 1, 2011 5:19:19 PM (2 years ago)
Author:
thomasb
Message:

Add skin_logo config option to installer; show drop-down list for skin selection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/installer/rcube_install.php

    r4573 r4587  
    512512  } 
    513513   
     514  /** 
     515   * Return a list with available subfolders of the skin directory 
     516   */ 
     517  function list_skins() 
     518  { 
     519    $skins = array(); 
     520    $skindir = INSTALL_PATH . 'skins/'; 
     521    foreach (glob($skindir . '*') as $path) { 
     522      if (is_dir($path) && is_readable($path)) { 
     523        $skins[] = substr($path, strlen($skindir)); 
     524      } 
     525    } 
     526    return $skins; 
     527  } 
    514528   
    515529  /** 
Note: See TracChangeset for help on using the changeset viewer.