aboutsummaryrefslogtreecommitdiff
path: root/classes/CinisisDb.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/CinisisDb.php')
-rw-r--r--classes/CinisisDb.php4
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;