if (($returnto = $this->app->getRequest()->getQuery("returnto"))) {
$this->app->redirect($returnto);
} else {
- $this->app->redirect($this->app->getBaseUrl()->mod("./github"));
+ $this->app->redirect($this->app->getBaseUrl()->mod(":./github"));
}
return;
}
}
}
- $callback = $this->app->getBaseUrl()->mod("./github/callback");
+ $callback = $this->app->getBaseUrl()->mod(":./github/callback");
$location = $this->github->getAuthUrl($callback);
$this->app->redirect($location);
if (($returnto = $this->app->getRequest()->getQuery("returnto"))) {
if ($title === "Packager hook") {
$baseUrl = $this->app->getBaseUrl();
$this->app->getView()->addData([
- "styles" => [$baseUrl->mod("./highlight/styles/dark.css")],
+ "styles" => [$baseUrl->mod(":./highlight/styles/dark.css")],
"scripts" => [
- $baseUrl->mod("./highlight/highlight.pack.js"),
+ $baseUrl->mod(":./highlight/highlight.pack.js"),
"hljs.initHighlightingOnLoad();"
]
]);