From e86787a8eb6a31fbe95f1a3854d66e25e5e63c67 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 23 Jan 2014 17:05:49 +0100 Subject: html renderer, console renderer uses pear's Console_Table --- src/bdrem/Config.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/bdrem/Config.php') diff --git a/src/bdrem/Config.php b/src/bdrem/Config.php index 076cd04..5d34f76 100644 --- a/src/bdrem/Config.php +++ b/src/bdrem/Config.php @@ -6,6 +6,7 @@ class Config public $source; public $daysBefore; public $daysAfter; + public $locale; public function load() { @@ -23,6 +24,9 @@ class Config $this->source = $source; $this->daysBefore = $daysBefore; $this->daysAfter = $daysAfter; + if (isset($locale)) { + $this->locale = $locale; + } } public function loadSource() @@ -35,9 +39,6 @@ class Config $class = '\\bdrem\\Source_' . array_shift($settings); return new $class($settings[0]); - //$rm = new \ReflectionMethod($class, '__construct'); - //return $rm->invokeArgs(null, $settings); - //return call_user_func_array($class . '::__construct', $settings); } } ?> -- cgit v1.2.3