summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
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