src/classes/CCStorage.php
public static function file( $file )
	{
		$params = array_merge( static::$params, array(
			'time' => time(),
			'fingerprint' => \CCSession::fingerprint(),
			'random' => CCStr::random(),
		));
		
		foreach( $params as $param => $value )
		{
			$file = str_replace( ':'.$param, $value, $file );
		}
		
		return $file;
	}
public static function file( $file )
	{
		$params = array_merge( static::$params, array(
			'time' => time(),
			'fingerprint' => \CCSession::fingerprint(),
			'random' => CCStr::random(),
		));
		
		foreach( $params as $param => $value )
		{
			$file = str_replace( ':'.$param, $value, $file );
		}
		
		return $file;
	}
public static function file ( $ file ) { $ params = array_merge ( static :: $ params , array ( 'time' => time ( ) , 'fingerprint' => \ CCSession :: fingerprint ( ) , 'random' => CCStr :: random ( ) , ) ) ; foreach ( $ params as $ param => $ value ) { $ file = str_replace ( ':' . $ param , $ value , $ file ) ; } return $ file ; }
Prepares a file with the parameters

@param string 		$file
@return $file
Prepares a file with the parameters