| | |
| | | +-----------------------------------------------------------------------+ |
| | | | rcube_install.php | |
| | | | | |
| | | | This file is part of the RoundCube Webmail package | |
| | | | Copyright (C) 2008-2009, RoundCube Dev. - Switzerland | |
| | | | This file is part of the Roundcube Webmail package | |
| | | | Copyright (C) 2008-2009, Roundcube Dev. - Switzerland | |
| | | | Licensed under the GNU Public License | |
| | | +-----------------------------------------------------------------------+ |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * Class to control the installation process of the RoundCube Webmail package |
| | | * Class to control the installation process of the Roundcube Webmail package |
| | | * |
| | | * @category Install |
| | | * @package RoundCube |
| | | * @package Roundcube |
| | | * @author Thomas Bruederli |
| | | */ |
| | | class rcube_install |
| | |
| | | |
| | | /** |
| | | * Compare the local database schema with the reference schema |
| | | * required for this version of RoundCube |
| | | * required for this version of Roundcube |
| | | * |
| | | * @param boolean True if the schema schould be updated |
| | | * @return boolean True if the schema is up-to-date, false if not or an error occured |
| | |
| | | |
| | | /** |
| | | * Compare the local database schema with the reference schema |
| | | * required for this version of RoundCube |
| | | * required for this version of Roundcube |
| | | * |
| | | * @param boolean True if the schema schould be updated |
| | | * @return boolean True if the schema is up-to-date, false if not or an error occured |
| | |
| | | |
| | | foreach ($default_hosts as $key => $name) { |
| | | if (!empty($name)) |
| | | $out[] = is_numeric($key) ? $name : $key; |
| | | $out[] = rcube_parse_host(is_numeric($key) ? $name : $key); |
| | | } |
| | | |
| | | return $out; |
| | |
| | | } |
| | | |
| | | /** |
| | | * Handler for RoundCube errors |
| | | * Handler for Roundcube errors |
| | | */ |
| | | function raise_error($p) |
| | | { |