This repository has been archived on 2020-02-18. You can view files and clone it, but cannot push or open issues or pull requests.
ical-drupal-calendar/includes/DrupalConfigFileReader.php

13 lines
258 B
PHP

<?php
namespace Pandy06269\iCalDrupal\includes;
class DrupalConfigFileReader extends FileReader
{
public function getDatabaseConfig()
{
global $databases;
require $this->path;
return $databases['default']['default'];
}
}