Reusing base stylesheet (instead of hoping for FB to import it) in FB

app.
This commit is contained in:
Sarven Capadisli 2009-05-26 03:34:00 +00:00
parent 0e8358bd23
commit c93031c2aa

View File

@ -97,6 +97,10 @@ class FacebookAction extends Action
{
// Add a timestamp to the file so Facebook cache wont ignore our changes
$ts = filemtime(INSTALLDIR.'/theme/base/css/display.css');
$this->element('link', array('rel' => 'stylesheet',
'type' => 'text/css',
'href' => theme_path('css/display.css', 'base') . '?ts=' . $ts));
$theme = common_config('site', 'theme');