From b3b87bf51fddd21130bf8975036ee82f66ad042b Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 7 Jun 2010 17:38:08 -0300 Subject: Changing CinisisDb::base() --- classes/CinisisDb.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/CinisisDb.php b/classes/CinisisDb.php index 60123ce..c0adeb9 100644 --- a/classes/CinisisDb.php +++ b/classes/CinisisDb.php @@ -114,8 +114,7 @@ class CinisisDb { * Return base folder. */ static function base() { - global $cinisis_basedir; - return $cinisis_basedir; + return dirname(__FILE__) .'/../'; } /** -- cgit v1.2.3