summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-05-30 15:15:10 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-05-30 15:18:10 -0400
commit7c39509f403fd4fb1ef2d5eb0b394e20da31ea9e (patch)
tree47efedc2ad581d8ffcc242bbea00c88ec886d191 /templates
parent228717d350dda19b2bd08bfbb90b30b6235f54cb (diff)
downloadampache-7c39509f403fd4fb1ef2d5eb0b394e20da31ea9e.tar.gz
ampache-7c39509f403fd4fb1ef2d5eb0b394e20da31ea9e.tar.bz2
ampache-7c39509f403fd4fb1ef2d5eb0b394e20da31ea9e.zip
Fix logic for loading rtl.css
Diffstat (limited to 'templates')
-rw-r--r--templates/stylesheets.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/stylesheets.inc.php b/templates/stylesheets.inc.php
index 02a3a197..27c8aad5 100644
--- a/templates/stylesheets.inc.php
+++ b/templates/stylesheets.inc.php
@@ -26,8 +26,8 @@ $theme_path = Config::get('theme_path') . '/templates';
<link rel="stylesheet" href="<?php echo $web_path; ?>/templates/base.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $web_path . $theme_path; ?>/default.css" type="text/css" media="screen" />
<?php
-if (is_rtl(Config::get('lang'))
- && is_file($theme_path . '/templates/rtl.css')) {
+if (is_rtl(Config::get('lang'))
+ && is_file(Config::get('prefix') . '/themes' . $theme_path . '/rtl.css')) {
?>
<link rel="stylesheet" href="<?php echo $web_path . $theme_path; ?>/rtl.css type="text/css" media="screen" />
<?php