From 0f3203c9c25b2c936ba8ebdf2fd2548209213620 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 7 Jun 2010 17:48:34 -0300 Subject: Misc fixes --- classes/CinisisDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/CinisisDb.php') diff --git a/classes/CinisisDb.php b/classes/CinisisDb.php index c0adeb9..63416b6 100644 --- a/classes/CinisisDb.php +++ b/classes/CinisisDb.php @@ -92,7 +92,7 @@ class CinisisDb { * @return * Array with configuration or FALSE on error. */ - public function check($config) { + static function check($config) { // Set default database backend if needed. if (!isset($config['implementation'])) { $config['implementation'] = 'PhpIsis'; @@ -130,7 +130,7 @@ class CinisisDb { * @return * Return the assembled file path. */ - public function file($config = NULL, $section = 'config') { + static function file($config = NULL, $section = 'config') { // Check config format (array, NULL or relative config path). if (is_array($config)) { return $config; -- cgit v1.2.3