forked from GNUsocial/gnu-social
Reusing base stylesheet (instead of hoping for FB to import it) in FB
app.
This commit is contained in:
parent
0e8358bd23
commit
c93031c2aa
@ -97,6 +97,10 @@ class FacebookAction extends Action
|
|||||||
{
|
{
|
||||||
// Add a timestamp to the file so Facebook cache wont ignore our changes
|
// Add a timestamp to the file so Facebook cache wont ignore our changes
|
||||||
$ts = filemtime(INSTALLDIR.'/theme/base/css/display.css');
|
$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');
|
$theme = common_config('site', 'theme');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user