autoconnect_production.env.php
1 year ago
constants.php
3 years ago
local.env.php
1 month ago
production.env.php
1 month ago
staging.env.php
1 month ago
testing.env.php
1 month ago
testing.env.php
149 lines
| 1 | <?php |
| 2 | if (!defined('TENWEB_SITE_URL')) { |
| 3 | define('TENWEB_SITE_URL', "https://staging.10web.io"); |
| 4 | } |
| 5 | if (!defined('TENWEB_DASHBOARD')) { |
| 6 | define('TENWEB_DASHBOARD', "https://testmy.10web.io"); |
| 7 | } |
| 8 | if (!defined('TENWEB_API_URL')) { |
| 9 | define('TENWEB_API_URL', 'https://testmanager.10web.io/api'); |
| 10 | } |
| 11 | if (!defined('TENWEB_S3_BUCKET')) { |
| 12 | define('TENWEB_S3_BUCKET', '10web-products-testing'); |
| 13 | } |
| 14 | if (!defined('TENWEB_MANAGER_ID')) { |
| 15 | define('TENWEB_MANAGER_ID', 51); |
| 16 | } |
| 17 | |
| 18 | if (!defined('TENWEB_WVC_THEME_ID')) { |
| 19 | define('TENWEB_WVC_THEME_ID', 215); |
| 20 | } |
| 21 | |
| 22 | if (!defined('TENWEB_WVC_URL')) { |
| 23 | define('TENWEB_WVC_URL', 'https://testwvc.10web.io'); |
| 24 | } |
| 25 | |
| 26 | if (!defined('TENWEB_WVC_PRODUCT_ID')) { |
| 27 | define('TENWEB_WVC_PRODUCT_ID', 216); |
| 28 | } |
| 29 | |
| 30 | |
| 31 | if (!defined('TENWEB_DEACTIVATION_REASONS_URL')) { |
| 32 | define('TENWEB_DEACTIVATION_REASONS_URL', 'https://testcore.10web.io/api/deactivation_reasons'); |
| 33 | } |
| 34 | if (!defined('TENWEB_SO_CRITICAL_URL')) { |
| 35 | define("TENWEB_SO_CRITICAL_URL",'https://testperformance.10web.io'); |
| 36 | } |
| 37 | if (!defined('TENWEBIO_API_URL')) { |
| 38 | define('TENWEBIO_API_URL', "https://testoptimizer.10web.io"); |
| 39 | } |
| 40 | |
| 41 | if(!defined('TENWEB_SO_FREE_SUBSCRIPTION_ID')) { |
| 42 | define("TENWEB_SO_FREE_SUBSCRIPTION_ID",323); |
| 43 | } |
| 44 | if(!defined('TENWEB_AGENCY_CUSTOMER_SUBSCRIPTION_ID')) { |
| 45 | define('TENWEB_AGENCY_CUSTOMER_SUBSCRIPTION_ID', 496); |
| 46 | } |
| 47 | |
| 48 | if(!defined('TENWEB_SO_AUTOCONNECT')) { |
| 49 | define("TENWEB_SO_AUTOCONNECT",false); |
| 50 | } |
| 51 | |
| 52 | if(!defined('TENWEB_SO_FREE_SUBSCRIPTION_IDS')) { |
| 53 | define("TENWEB_SO_FREE_SUBSCRIPTION_IDS",[ |
| 54 | 323, //booster free subscription id |
| 55 | 346, 347, 348, 349, 350, 351 //ai assistant pro booster free subscription ids |
| 56 | ]); |
| 57 | } |
| 58 | |
| 59 | if(!defined('TWBB_S3_BUCKET')) { |
| 60 | define('TWBB_S3_BUCKET', '10webtemplates-testing'); |
| 61 | } |
| 62 | |
| 63 | if(!defined('TENWEB_SIGNUP_MAGIC_LINK_URL')) { |
| 64 | define('TENWEB_SIGNUP_MAGIC_LINK_URL', 'https://testcore.10web.io/api/checkout/signup-via-magic-link'); |
| 65 | } |
| 66 | |
| 67 | if(!defined('TENWEB_AI_ASSISTANT')) { |
| 68 | define('TENWEB_AI_ASSISTANT', 'https://testai-assistant.10web.io/'); |
| 69 | } |
| 70 | |
| 71 | if(!defined('TENWEB_AI_ASSISTANT_SUBSCRIPTION_ID')) { |
| 72 | define('TENWEB_AI_ASSISTANT_SUBSCRIPTION_ID', 332); |
| 73 | } |
| 74 | |
| 75 | if(!defined('TWM_ENABLE_PAYMENT')) { |
| 76 | define('TWM_ENABLE_PAYMENT', true); |
| 77 | } |
| 78 | |
| 79 | if(!defined('TENWEB_WOOCOM_API_URL')) { |
| 80 | define('TENWEB_WOOCOM_API_URL', 'https://testwoocom.10web.io/'); |
| 81 | } |
| 82 | |
| 83 | if(!defined('TENWEB_PLATFORM_FREE_SUBSCRIPTION_ID')) { |
| 84 | define('TENWEB_PLATFORM_FREE_SUBSCRIPTION_ID',321); |
| 85 | } |
| 86 | |
| 87 | if(!defined('TENWEB_SEND_GA_EVENT')) { |
| 88 | define('TENWEB_SEND_GA_EVENT', 'https://testcore.10web.io/api/send-ga-event'); |
| 89 | } |
| 90 | |
| 91 | if(!defined('TENWEB_FE_SERVICE')) { |
| 92 | define('TENWEB_FE_SERVICE', 'https://testfe.10web.io/'); |
| 93 | } |
| 94 | |
| 95 | if(!defined('TENWEB_BUILDER_API')) { |
| 96 | define('TENWEB_BUILDER_API', 'https://testbuilderapi.10web.io/'); |
| 97 | } |
| 98 | |
| 99 | if(!defined('TENWEB_CORE_URL')) { |
| 100 | define('TENWEB_CORE_URL', 'https://testcore.10web.io'); |
| 101 | } |
| 102 | |
| 103 | global $tenweb_services; |
| 104 | |
| 105 | $tenweb_services = array( |
| 106 | 'testoptimizer.10web.io', |
| 107 | 'testsecurity.10web.io', |
| 108 | 'testseo.10web.io', |
| 109 | 'testbackup.10web.io', |
| 110 | 'testmanager.10web.io', |
| 111 | 'testcore.10web.io', |
| 112 | 'testlxd.10web.io', |
| 113 | 'testwvc.10web.io' |
| 114 | ); |
| 115 | |
| 116 | global $tenweb_regions; |
| 117 | |
| 118 | $tenweb_regions = array( |
| 119 | "asia-east1" => "Changhua County, Taiwan", |
| 120 | "asia-northeast1" => "Tokyo, Japan", |
| 121 | "asia-south1" => "Mumbai, India", |
| 122 | "asia-southeast1" => "Jurong West, Singapore", |
| 123 | "australia-southeast1" => "Sydney, Australia", |
| 124 | "europe-north1" => "Hamina, Finland", |
| 125 | "europe-west1" => "St. Ghislain, Belgium", |
| 126 | "europe-west2" => "London, England, UK", |
| 127 | "europe-west3" => "Frankfurt, Germany", |
| 128 | "europe-west4" => "Eemshaven, Netherlands", |
| 129 | "northamerica-northeast1" => "Montréal, Québec, Canada", |
| 130 | "southamerica-east1" => "São Paulo, Brazil", |
| 131 | "us-central1" => "Council Bluffs, Iowa, USA", |
| 132 | "us-east1" => "Moncks Corner, South Carolina, USA", |
| 133 | "us-east4" => "Ashburn, Northern Virginia, USA", |
| 134 | "us-west1" => "The Dalles, Oregon, USA", |
| 135 | "us-west2" => "Los Angeles, California, USA" |
| 136 | ); |
| 137 | |
| 138 | global $tenweb_firebaseConfig; |
| 139 | |
| 140 | $tenweb_firebaseConfig = [ |
| 141 | 'apiKey' => "AIzaSyBP3zPfSTMZxUqJsfmHMd6EJV2aITZ-3FY", |
| 142 | 'authDomain'=> "copilot-dev-64f1d.firebaseapp.com", |
| 143 | 'projectId'=> "copilot-dev-64f1d", |
| 144 | 'storageBucket'=> "copilot-dev-64f1d.appspot.com", |
| 145 | 'messagingSenderId'=> "101114320744", |
| 146 | 'appId'=> "1:101114320744:web:3a98c2010c93b6e7a0a8dd", |
| 147 | 'databaseURL' => "https://copilot-dev-64f1d.firebaseio.com", |
| 148 | ]; |
| 149 |