protected function assignMedia()
	{

		// On development create all the packed files on the fly:
		if ( \Sifo\Domains::getInstance()->getDevMode() )
		{
			$packer = new \Sifo\JsPacker();
			$packer->packMedia();
			$packer = new \Sifo\CssPacker();
			$packer->packMedia();
		}

		$this->assign( 'media', \Sifo\Config::getInstance()->getConfig( 'css' ) );
		$this->assign( 'css_groups', $this->css_groups );
		$this->assign( 'js_groups', $this->js_groups );

		$this->assign( 'static_rev', $this->getStaticRevision() );
		$this->assign( 'media_module', $this->fetch( 'shared/media_packer.tpl' ) );

	}