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