common/config/CoreProperties.php
public function getRootUrl( $admin = false ) {

		if( $admin ) {

			return $this->properties[ self::PROP_ADMIN_URL ] . \Yii::getAlias( '@web' ) ;
		}

		return $this->properties[ self::PROP_SITE_URL ] . \Yii::getAlias( '@web' ) ;
	}
public function getRootUrl( $admin = false ) {

		if( $admin ) {

			return $this->properties[ self::PROP_ADMIN_URL ] . \Yii::getAlias( '@web' ) ;
		}

		return $this->properties[ self::PROP_SITE_URL ] . \Yii::getAlias( '@web' ) ;
	}
public function getRootUrl ( $ admin = false ) { if ( $ admin ) { return $ this -> properties [ self :: PROP_ADMIN_URL ] . \ Yii :: getAlias ( '@web' ) ; } return $ this -> properties [ self :: PROP_SITE_URL ] . \ Yii :: getAlias ( '@web' ) ; }
Returns the root URL for the app
Returns the root URL for the app