MDL-85028 core: Check correct var name for router config

This commit is contained in:
Andrew Nicols
2025-03-27 11:45:08 +08:00
parent f501225d0f
commit cfcc23c1fc
@@ -358,7 +358,7 @@ class page_requirements_manager {
protected function get_api_base(): string {
global $CFG;
if (!empty($CFG->router_configured)) {
if (!empty($CFG->routerconfigured)) {
return sprintf(
"%s/api",
$CFG->wwwroot,