dont return pdo object
get database settings does not access global variables correctly
getDatabaseSettings() can be called from different scopes
some drupal modules make really bad assumption about working directory