#207. Fixed offline mode to use Drupal.settings.site_path and the system_connect().