Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
drush_sql_get_path($uri)
contributions/drush/drush_sql/drush_sql.module, line 268
<?php
function drush_sql_get_path($uri) {
$drupal_base_url = parse_url($uri);
$_SERVER['HTTP_HOST'] = $drupal_base_url['host'];
$_SERVER['PHP_SELF'] = $drupal_base_url['path'].'/index.php';
return conf_path();
}
?>