framework/base/CErrorHandler.php
protected function getVersionInfo()
	{
		if(YII_DEBUG)
		{
			$version='<a href="http://www.yiiframework.com/">Yii Framework</a>/'.Yii::getVersion();
			if(isset($_SERVER['SERVER_SOFTWARE']))
				$version=$_SERVER['SERVER_SOFTWARE'].' '.$version;
		}
		else
			$version='';
		return $version;
	}
protected function getVersionInfo()
	{
		if(YII_DEBUG)
		{
			$version='<a href="http://www.yiiframework.com/">Yii Framework</a>/'.Yii::getVersion();
			if(isset($_SERVER['SERVER_SOFTWARE']))
				$version=$_SERVER['SERVER_SOFTWARE'].' '.$version;
		}
		else
			$version='';
		return $version;
	}
protected function getVersionInfo ( ) { if ( YII_DEBUG ) { $ version = '<a href="http://www.yiiframework.com/">Yii Framework</a>/' . Yii :: getVersion ( ) ; if ( isset ( $ _SERVER [ 'SERVER_SOFTWARE' ] ) ) $ version = $ _SERVER [ 'SERVER_SOFTWARE' ] . ' ' . $ version ; } else $ version = '' ; return $ version ; }
Returns server version information.
If the application is in production mode, empty string is returned.
@return string server version information. Empty if in production mode.
Returns server version information . If the application is in production mode empty string is returned .