Added some notes and some @todo items.

This commit is contained in:
Josh Sherman 2010-11-06 18:50:49 -04:00
parent ba67887522
commit 973c8307a7

View file

@ -20,6 +20,11 @@
*
* Handles generating links to static content that are a timestamp injected as
* to avoid hard caching. Also minifies content where applicable.
*
* Note: you will want to add a mod_rewrite line to your .htaccess to support
* the routing to the filenames with the timestamp injected:
*
* RewriteRule ^(.+)\.([\d]+)\.(css|js|gif|png|jpg|jpeg)$ /$1.$3 [NC,QSA]
*/
class Dynamic extends Object
{
@ -155,6 +160,10 @@ class Dynamic extends Object
{
$reference = $minified_reference;
}
else
{
// @todo Log a warning
}
$reference = $this->ref($reference);
}
@ -221,6 +230,10 @@ class Dynamic extends Object
{
$reference = $minified_reference;
}
else
{
// @todo Log a warning
}
$reference = $this->ref($reference);
}