Project

General

Profile

« Previous | Next » 

Revision 1683

Added by darkviper over 12 years ago

changed class Database into a Singleton-Class
added forgotten 'static' keyword in ModLanguage
removed version control from sm2 - include.php

View differences:

ModLanguage.php
28 28
 * get a valid instance of this class
29 29
 * @return object
30 30
 */
31
	public function getInstance() {
31
	static public function getInstance() {
32 32
		if( is_null(self::$_oInstance) ) {
33 33
            $c = __CLASS__;
34 34
            self::$_oInstance = new $c;

Also available in: Unified diff