Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Fix Version/s: 2.0.3
-
Labels:
Description
CFG->themedir do not work in 2.0.
Workaround
file: /lib/outputlib.php
Function: function find_theme_location
REPLACE
if (file_exists("$CFG->dirroot/theme/$themename/config.php")) {
$dir = "$CFG->dirroot/theme/$themename";
WITH
if (file_exists("$CFG->dirroot/theme/$themename/config.php")) {
$dir = "$CFG->dirroot/theme/$themename";
} elseif (file_exists("$CFG->themedir/$themename/config.php")) {
$dir = "$CFG->themedir/$themename";
MDL-26955 will still be an issue.
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-26955 | lang not being picked up from themes in custom themedir |
|
|
|
Solution falls outside the theme directory - I"m not sure how to fix.