summaryrefslogtreecommitdiff
path: root/lib/facebookaction.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-26 03:34:00 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-26 03:34:00 +0000
commitc93031c2aa49b8a044e896ca1e07f5f4f429308e (patch)
tree721fb60ccaede89b905a9798859c5d57925a259c /lib/facebookaction.php
parent0e8358bd2335bfc71ac5b2ee93e866fa5c571c89 (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.php4
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');