Kecik/Assets.php
public function url( $file = '', $version = '' ) {

		if ( empty( $version ) ) {
			$version = '?ver=' . Kecik::$version;
		}

		if ( ! empty( $file ) ) {
			return $this->BaseUrl . Config::get( 'path.assets' ) . '/' . $file . $version;
		} else {
			return $this->BaseUrl . Config::get( 'path.assets' ) . '/';
		}

	}
public function url( $file = '', $version = '' ) {

		if ( empty( $version ) ) {
			$version = '?ver=' . Kecik::$version;
		}

		if ( ! empty( $file ) ) {
			return $this->BaseUrl . Config::get( 'path.assets' ) . '/' . $file . $version;
		} else {
			return $this->BaseUrl . Config::get( 'path.assets' ) . '/';
		}

	}
public function url ( $ file = '' , $ version = '' ) { if ( empty ( $ version ) ) { $ version = '?ver=' . Kecik :: $ version ; } if ( ! empty ( $ file ) ) { return $ this -> BaseUrl . Config :: get ( 'path.assets' ) . '/' . $ file . $ version ; } else { return $ this -> BaseUrl . Config :: get ( 'path.assets' ) . '/' ; } }
Create url from assets

@param string $file
@param string $version

@return string
Create url from assets