From c5c68de9adc23077defdd39f9264286a62fb2e0e Mon Sep 17 00:00:00 2001
From: Michael Hamann <michael@content-space.de>
Date: Tue, 18 Sep 2012 22:47:22 +0200
Subject: [PATCH] Load rtl userstyle as it is still supported (did it ever
 work?)

---
 lib/exe/css.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/exe/css.php b/lib/exe/css.php
index cee806ef4..fb639fc7e 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -102,6 +102,7 @@ function css_out(){
         if ($mediatype=='screen') {
             if($lang['direction'] == 'rtl'){
                 if (isset($tplstyles['rtl'])) $files[$mediatype] = array_merge($files[$mediatype], $tplstyles['rtl']);
+                if (isset($config_cascade['userstyle']['rtl'])) $files[$mediatype][$config_cascade['userstyle']['rtl']] = DOKU_BASE;
             }
         }
 
-- 
GitLab