config-dist.php:// $CFG->themedir = '/location/of/extra/themes'; lib/classes/component.php: if (!empty($CFG->themedir) and is_dir($CFG->themedir) ) { lib/classes/component.php: $types['theme'] = $CFG->themedir; lib/moodlelib.php: } else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$param/config.php")) { lib/outputlib.php: } else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$themename/config.php")) { lib/outputlib.php: $dir = "$CFG->themedir/$themename"; lib/tests/component_test.php: $this->assertTrue(empty($CFG->themedir), 'Non-empty $CFG->themedir is not covered by any tests yet, you need to disable it.'); theme/font.php:} else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$themename/config.php")) { theme/image.php:} else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$themename/config.php")) { theme/javascript.php:} else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$themename/config.php")) { theme/jquery.php: if (!empty($CFG->themedir)) { theme/jquery.php: $componentdir = "$CFG->themedir/$component"; theme/styles.php:} else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$themename/config.php")) { theme/styles_debug.php:} else if (!empty($CFG->themedir) and file_exists("$CFG->themedir/$themename/config.php")) {