aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-06-07 17:38:08 -0300
committerSilvio <silvio@devlet.com.br>2010-06-07 17:38:08 -0300
commitb3b87bf51fddd21130bf8975036ee82f66ad042b (patch)
treed8ec3a541426d3417aad6982428f568d723487aa /classes
parent929db1efba3c3c87ad0f38d298b8847c2cabac04 (diff)
downloadcinisis-b3b87bf51fddd21130bf8975036ee82f66ad042b.tar.gz
cinisis-b3b87bf51fddd21130bf8975036ee82f66ad042b.tar.bz2
Changing CinisisDb::base()
Diffstat (limited to 'classes')
-rw-r--r--classes/CinisisDb.php3
1 files changed, 1 insertions, 2 deletions
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__) .'/../';
}
/**