diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-01-23 07:22:01 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-01-23 07:22:01 +0000 |
commit | 8114676bd4fd783ba9580a5dbf8bf0029a1554c9 (patch) | |
tree | 577f23ca4091fc47e471cb8abc31e6e77ad50c34 /lib | |
parent | 78bf36129188604e229014a1d063cd818f263a92 (diff) |
trac750 Let's try that again - fix for base css href
Diffstat (limited to 'lib')
-rw-r--r-- | lib/facebookaction.php | 2 | ||||
-rw-r--r-- | lib/facebookutil.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/facebookaction.php b/lib/facebookaction.php index a20e618d3..2dbe15970 100644 --- a/lib/facebookaction.php +++ b/lib/facebookaction.php @@ -68,6 +68,8 @@ class FacebookAction extends Action $this->fbuid = $flink->foreign_id; $this->user = $flink->getUser(); } + + $this->args = array(); } function prepare($argarray) diff --git a/lib/facebookutil.php b/lib/facebookutil.php index 81737e4d5..a2a2d7cb1 100644 --- a/lib/facebookutil.php +++ b/lib/facebookutil.php @@ -57,7 +57,7 @@ function getFacebookBaseCSS() { # Add a timestamp to the CSS file so Facebook cache wont ignore our changes $ts = filemtime(INSTALLDIR.'/theme/base/css/facebookapp.base.css'); - $cssurl = INSTALLDIR.'/theme/base/css/facebookapp.base.css' . "?ts=$ts"; + $cssurl = theme_path('css/facebookapp.base.css', 'base') . "?ts=$ts"; return $cssurl; } |