public static function getInstance() { if (is_null(self::$instance)) { self::$instance = new self(); } return self::$instance; }
public static function getInstance() { if (self::$instance === null) { self::$instance = new CLogger($GLOBALS['CLOG_CONFIG']); } return self::$instance; }