// Order of this addition is important, do not change this.
$this->config = $config + $this->config;
// define the default theme paths...
$this->add_paths($this->config['paths']);
// create a unique asset instance for this theme instance...
$this->asset = \Asset::forge('theme_'.spl_object_hash($this), array('paths' => array()));
public static function forge($name = 'default', array $config = array())
{
...
static::$_instances[$name] = new \Asset_Instance(array_merge(static::$default_config, \Config::get('asset'), $config));
...
}
...
protected $_asset_url = '/';
...
public function __construct($config)
{
...
$this->_asset_url = $config['url'];
...
}
It looks like you're new here. If you want to get involved, click one of these buttons!