diff options
Diffstat (limited to 'app/FreshRSS.php')
| -rw-r--r-- | app/FreshRSS.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php index 886e30323..2754074b0 100644 --- a/app/FreshRSS.php +++ b/app/FreshRSS.php @@ -103,6 +103,10 @@ class FreshRSS extends Minz_FrontController { $theme_id = $theme['id']; $filename = $file; } + if (_t('gen.dir') === 'rtl') { + $filename = substr($filename, 0, -4); + $filename = $filename . '.rtl.css'; + } $filetime = @filemtime(PUBLIC_PATH . '/themes/' . $theme_id . '/' . $filename); $url = '/themes/' . $theme_id . '/' . $filename . '?' . $filetime; Minz_View::prependStyle(Minz_Url::display($url)); |
