13 lines
258 B
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'];
|
|
}
|
|
} |