Logo Search packages:      
Sourcecode: aegir-provision version File versions  Download package

install_verify_settings (  ) 

Verify existing settings.php

Definition at line 31 of file install_7.inc.

                                   {
  global $db_prefix, $db_type, $db_url, $databases;
  return TRUE;
  // Verify existing settings (if any).
  if (!empty($db_url)) {
    // We need this because we want to run form_get_errors.

    $url = parse_url(is_array($db_url) ? $db_url['default'] : $db_url);
    $db_user = urldecode($url['user']);
    $db_pass = urldecode($url['pass']);
    $db_host = urldecode($url['host']);
    $db_port = isset($url['port']) ? urldecode($url['port']) : '';
    $db_path = ltrim(urldecode($url['path']), '/');
    $settings_file = './'. conf_path() .'/settings.php';

    return TRUE;
  }
  return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index