Fix baseUrl
This commit is contained in:
@@ -19,11 +19,11 @@
|
||||
$url = CognitoAPI::$formsBase;
|
||||
|
||||
if ($_GET['page'] == 'CognitoCreateForm') {
|
||||
$url = $url . 'forms/new';
|
||||
$url = $url . '/forms/new';
|
||||
} elseif ($_GET['page'] == "CognitoTemplates") {
|
||||
$url = $url . 'templates';
|
||||
$url = $url . '/templates';
|
||||
} else {
|
||||
$url = $url . 'forms';
|
||||
$url = $url . '/forms';
|
||||
}
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user