Fix a couple of strict notices for PHP 5.4
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user