File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ public static function call(OkapiRequest $request)
29
29
$ result ['okapi_version_number ' ] = Okapi::$ version_number ;
30
30
$ result ['okapi_revision ' ] = Okapi::$ version_number ; /* Important for backward-compatibility! */
31
31
$ result ['okapi_git_revision ' ] = Okapi::$ git_revision ;
32
+ $ result ['registration_url ' ] = $ result ['site_url ' ]."register.php " ;
33
+ $ result ['mobile_registration_url ' ] = null ;
32
34
return Okapi::formatted_response ($ request , $ result );
33
35
}
34
36
}
Original file line number Diff line number Diff line change 52
52
project installed on this Opencaching site, <b >or null</b >,
53
53
when it could not be determined.
54
54
</li >
55
+ <li >
56
+ <b >registration_url</b > - URL of the Opencaching site's general
57
+ page for registering a new user account.
58
+ </li >
59
+ <li >
60
+ <b >mobile_registration_url</b > - URL of the Opencaching site's
61
+ page for registering a new user account, which is optimized
62
+ for small mobile displays, <b >or null</b > if no separate
63
+ mobile-optimized page exists.
64
+ </li >
55
65
</ul >
56
66
</returns >
57
67
</xml >
You can’t perform that action at this time.
0 commit comments