src/Fw/Bundler.php
static function find($file, $prefix_cdn_config = "cdn")
	{
		if (!$real_path = \Fw\Find::in("assets", $file)) throw new \Exception("$file not found");
		$so = strlen(\Fw\Config::get("docroot")) - 1;
		return \Fw\Config::get($prefix_cdn_config) . substr($real_path, $so);
	}
static function find($file, $prefix_cdn_config = "cdn")
	{
		if (!$real_path = \Fw\Find::in("assets", $file)) throw new \Exception("$file not found");
		$so = strlen(\Fw\Config::get("docroot")) - 1;
		return \Fw\Config::get($prefix_cdn_config) . substr($real_path, $so);
	}
static function find ( $ file , $ prefix_cdn_config = "cdn" ) { if ( ! $ real_path = \ Fw \ Find :: in ( "assets" , $ file ) ) throw new \ Exception ( "$file not found" ) ; $ so = strlen ( \ Fw \ Config :: get ( "docroot" ) ) - 1 ; return \ Fw \ Config :: get ( $ prefix_cdn_config ) . substr ( $ real_path , $ so ) ; }
Searches for asset based on the asset resources defined in \Fw\Find

@param $file
@return string
@throws \Exception
Searches for asset based on the asset resources defined in \ Fw \ Find