Compare commits

..

2 Commits

Author SHA1 Message Date
23a23f7f56 Include cogicon file in production builds 2022-02-19 17:34:29 -05:00
23e8bcec59 Fix baseUrl 2022-02-19 17:34:16 -05:00
3 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,7 @@
// Cognito API access
if ( !class_exists('CognitoAPI') ) {
class CognitoAPI {
public static $formsBase = 'https://cognitoforms.com/';
public static $formsBase = 'https://www.cognitoforms.com';
// Convert MS GUID to Short GUID
private static function guid_to_short_guid($guid) {

View File

@ -8,6 +8,7 @@ export default function() {
'templates/**/*',
'tinymce/**/*',
'*.php',
'cogicon.svg',
'LICENSE',
'readme.txt',
'screenshot*.png',

View File

@ -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';
}
?>