For now I solved my issue this way:
<?php
foreach ($view['assetic']->stylesheets($js = array(
'css/layout.css',
'css/file1.css',
'css/file2.css',
'css/file3.css'), array()) as $key => $url) {
echo '<link rel="stylesheet" href="'.($view["tools"]->isDebug() ?
$view['assets']->getUrl($js[$key]) : $view->escape($url)).'"
type="text/css" />';
}
?>
Seem to work pretty fine but it is not very elegant way. Dont know how
to make it better. Would be great to have printing source asset files
for debug mode supported by assetic.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en