diff options
author | Silvio <silvio@devlet.com.br> | 2010-06-07 17:48:34 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-06-07 17:48:34 -0300 |
commit | 0f3203c9c25b2c936ba8ebdf2fd2548209213620 (patch) | |
tree | c6f8b556bb81817304f24051a3bfd7abf751f1fd /classes/CinisisDb.php | |
parent | b3b87bf51fddd21130bf8975036ee82f66ad042b (diff) | |
download | cinisis-0f3203c9c25b2c936ba8ebdf2fd2548209213620.tar.gz cinisis-0f3203c9c25b2c936ba8ebdf2fd2548209213620.tar.bz2 |
Misc fixes
Diffstat (limited to 'classes/CinisisDb.php')
-rw-r--r-- | classes/CinisisDb.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |