Store Cognito base url solely in api.php
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
$url = 'https://www.cognitoforms.com/';
|
||||
$url = CognitoAPI::$formsBase;
|
||||
|
||||
if ($_GET['page'] == 'CognitoCreateForm') {
|
||||
$url = $url . 'forms/new';
|
||||
|
Reference in New Issue
Block a user