Fix a couple of strict notices for PHP 5.4

This commit is contained in:
Julio Cesar Laura
2014-10-13 15:13:34 -04:00
parent 9c74fb370b
commit 0c2a82cf5c
2 changed files with 9 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ class serverConf
*
* @return object
*/
public function &getSingleton()
public static function &getSingleton()
{
if (self::$instance == null) {
self::$instance = new serverConf();
@@ -518,4 +518,3 @@ class serverConf
return in_array($lang, $this->rtlLang);
}
}