From 8114676bd4fd783ba9580a5dbf8bf0029a1554c9 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 23 Jan 2009 07:22:01 +0000 Subject: [PATCH] trac750 Let's try that again - fix for base css href --- lib/facebookaction.php | 2 ++ lib/facebookutil.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/facebookaction.php b/lib/facebookaction.php index a20e618d3a..2dbe159708 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 81737e4d53..a2a2d7cb1b 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; } -- 2.39.5