Merge branch 'MDL-65438-master' of git://github.com/bmbrands/moodle
authorAdrian Greeve <abgreeve@gmail.com>
Mon, 10 Jun 2019 05:56:51 +0000 (13:56 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Mon, 10 Jun 2019 05:56:51 +0000 (13:56 +0800)
lib/outputlib.php

index 5a2c831..b568f28 100644 (file)
@@ -1107,6 +1107,8 @@ class theme_config {
             }
         }
 
+        // Allow themes to change the css url to something like theme/mytheme/mycss.php.
+        component_callback('theme_' . $this->name, 'alter_css_urls', [&$urls]);
         return $urls;
     }