Make remote server variable

This commit is contained in:
2019-10-05 21:11:02 +02:00
parent e62d99d0fc
commit 9f13d397ef
4 changed files with 35 additions and 11 deletions

View File

@@ -88,7 +88,8 @@ class CATC extends Main
'context' => $this->asContext,
'cookie' => Auth::USER_COOKIE_PASS,
'workshops' => (new Course($this->oDb))->getWorkshops(),
'courses' => (new Course($this->oDb))->getCourses()
'courses' => (new Course($this->oDb))->getCourses(),
'server' => Settings::SERVER_URL
),
'vars' => $this->getVars()
),