Created
January 31, 2013 01:11
-
-
Save michaeldyrynda/4678990 to your computer and use it in GitHub Desktop.
Asset mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Map static assets to dynamic filenames to facilitate fingerprinting | |
*/ | |
$asset_map = array( | |
'bootstrap' => 'bootstrap_9b1012f3b7f1e418e089e2aed41e7cb0.min.css', | |
'style' => 'style_ca817061e12eefc141acc95578a235b2.min.css', | |
'wysihtml5' => 'wysihtml5_fe2bbcdc691e8bd0ee4235595fe4bb9f.css', | |
'ie8' => 'ie8_3b79519a57f6685a52b71533fc12e8f8.css', | |
); | |
// Ensure that smarty has been instantiated before doing this | |
if ( isset($smarty) ) { | |
$smarty->assign('asset_map', $asset_map); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment