PluginProbe
Instapage Plugin / 3.6.0
Instapage Plugin v3.6.0
trunk 3.2.11 3.2.12 3.2.13 3.2.14 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.10 3.5.11 3.5.12 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 All 28 releases
instapage / instapage.php

instapage.php in Instapage Plugin 3.6.0, at instapage.php

47 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 Plugin Name: Instapage Plugin
5 Description: The best way for WordPress to seamlessly publish landing pages as a natural extension of your website.
6 Version: 3.6.0
7 Requires PHP: 5.4.0
8 Plugin URI: https://instapage.com/
9 Author: Instapage
10 Author URI: https://instapage.com/
11 License: GPLv2
12 */
13
14 define('INSTAPAGE_PLUGIN_PATH', dirname(__FILE__));
15 define('INSTAPAGE_PLUGIN_FILE', __FILE__);
16 define('INSTAPAGE_SUPPORT_EMAIL', 'help@instapage.com');
17 define('INSTAPAGE_PLUGIN_MINIMUM_PHP_VERSION', '5.4.0');
18 define('INSTAPAGE_PLUGIN_VERSION', '3.6.0');
19
20 /**
21 * @var array $consts Holds constant names to be defined with their default values - if not already defined or found in `$_ENV`
22 */
23 $consts = array(
24 'INSTAPAGE_ENTERPRISE_ENDPOINT' => 'http://plugin.pageserve.co',
25 'INSTAPAGE_PROXY_ENDPOINT' => 'http://app.instapage.com',
26 'INSTAPAGE_APP_ENDPOINT' => 'http://app.instapage.com/api/plugin'
27 );
28
29 foreach ($consts as $key => $value) {
30 if (!defined($key)) {
31 define($key, (isset($_ENV[$key]) && !empty($_ENV[$key])) ? $_ENV[$key] : $value);
32 }
33 }
34
35 require_once(INSTAPAGE_PLUGIN_PATH . '/connectors/InstapageCmsPluginConnector.php');
36 require_once(INSTAPAGE_PLUGIN_PATH . '/InstapageCmsPluginHelper.php');
37 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginDBModel.php');
38 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginAPIModel.php');
39 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginPageModel.php');
40 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginServicesModel.php');
41 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginDebugLogModel.php');
42 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginViewModel.php');
43 require_once(INSTAPAGE_PLUGIN_PATH . '/models/InstapageCmsPluginSubaccountModel.php');
44 require_once(INSTAPAGE_PLUGIN_PATH . '/InstapageCmsPluginAjaxController.php');
45
46 InstapageCmsPluginConnector::initPlugin();
47