diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-05-26 03:34:00 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-05-26 03:34:00 +0000 |
commit | c93031c2aa49b8a044e896ca1e07f5f4f429308e (patch) | |
tree | 721fb60ccaede89b905a9798859c5d57925a259c /lib/facebookaction.php | |
parent | 0e8358bd2335bfc71ac5b2ee93e866fa5c571c89 (diff) |
Reusing base stylesheet (instead of hoping for FB to import it) in FB
app.
Diffstat (limited to 'lib/facebookaction.php')
-rw-r--r-- | lib/facebookaction.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/facebookaction.php b/lib/facebookaction.php index 00db79400..637a6284d 100644 --- a/lib/facebookaction.php +++ b/lib/facebookaction.php @@ -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'); |