aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-06-07 17:32:22 -0300
committerSilvio <silvio@devlet.com.br>2010-06-07 17:32:22 -0300
commit929db1efba3c3c87ad0f38d298b8847c2cabac04 (patch)
tree1a401943a424e2ebd710ae823eb69ffce4d9780b
parentb30bac3f31c602fd2cb3a9b2a03501a68a9c7800 (diff)
downloadcinisis-929db1efba3c3c87ad0f38d298b8847c2cabac04.tar.gz
cinisis-929db1efba3c3c87ad0f38d298b8847c2cabac04.tar.bz2
Changing CinisisDb::base() to static
-rw-r--r--classes/CinisisDb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/CinisisDb.php b/classes/CinisisDb.php
index 3a5ab4a..60123ce 100644
--- a/classes/CinisisDb.php
+++ b/classes/CinisisDb.php
@@ -113,7 +113,7 @@ class CinisisDb {
* @return
* Return base folder.
*/
- public function base() {
+ static function base() {
global $cinisis_basedir;
return $cinisis_basedir;
}