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
local.env.php
126 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://devmy.10web.io"); |
| 7 | } |
| 8 | if (!defined('TENWEB_API_URL')) { |
| 9 | define('TENWEB_API_URL', 'https://devmanager.10web.io/api'); |
| 10 | } |
| 11 | if (!defined('TENWEB_S3_BUCKET')) { |
| 12 | define('TENWEB_S3_BUCKET', '10web-products-staging'); |
| 13 | } |
| 14 | if (!defined('TENWEB_MANAGER_ID')) { |
| 15 | define('TENWEB_MANAGER_ID', 51); |
| 16 | } |
| 17 | if (!defined('TENWEB_WVC_THEME_ID')) { |
| 18 | define('TENWEB_WVC_THEME_ID', 215); |
| 19 | } |
| 20 | |
| 21 | if (!defined('TENWEB_WVC_URL')) { |
| 22 | define('TENWEB_WVC_URL', 'https://devwvc.10web.io'); |
| 23 | } |
| 24 | |
| 25 | |
| 26 | if (!defined('TENWEB_DEACTIVATION_REASONS_URL')) { |
| 27 | define('TENWEB_DEACTIVATION_REASONS_URL', 'https://devcore.10web.io/api/deactivation_reasons'); |
| 28 | } |
| 29 | if (!defined('TENWEB_SO_CRITICAL_URL')) { |
| 30 | define("TENWEB_SO_CRITICAL_URL",'https://devperformance.10web.io'); |
| 31 | } |
| 32 | if (!defined('TENWEBIO_API_URL')) { |
| 33 | define('TENWEBIO_API_URL', "https://devoptimizer.10web.io"); |
| 34 | } |
| 35 | |
| 36 | if(!defined('TENWEB_SO_FREE_SUBSCRIPTION_ID')) { |
| 37 | define("TENWEB_SO_FREE_SUBSCRIPTION_ID",323); |
| 38 | } |
| 39 | |
| 40 | if(!defined('TENWEB_AGENCY_CUSTOMER_SUBSCRIPTION_ID')) { |
| 41 | define('TENWEB_AGENCY_CUSTOMER_SUBSCRIPTION_ID', 379); |
| 42 | } |
| 43 | |
| 44 | if(!defined('TENWEB_SO_AUTOCONNECT')) { |
| 45 | define("TENWEB_SO_AUTOCONNECT",false); |
| 46 | } |
| 47 | |
| 48 | if(!defined('TENWEB_SO_FREE_SUBSCRIPTION_IDS')) { |
| 49 | define("TENWEB_SO_FREE_SUBSCRIPTION_IDS",[ |
| 50 | 323, //booster free subscription id |
| 51 | 346, 347, 348, 349, 350, 351 //ai assistant pro booster free subscription ids |
| 52 | ]); |
| 53 | } |
| 54 | |
| 55 | if(!defined('TWBB_S3_BUCKET')) { |
| 56 | define('TWBB_S3_BUCKET', '10webtemplates-testing'); |
| 57 | } |
| 58 | |
| 59 | if(!defined('TENWEB_SIGNUP_MAGIC_LINK_URL')) { |
| 60 | define('TENWEB_SIGNUP_MAGIC_LINK_URL', 'https://devcore.10web.io/api/checkout/signup-via-magic-link'); |
| 61 | } |
| 62 | |
| 63 | if(!defined('TENWEB_AI_ASSISTANT')) { |
| 64 | define('TENWEB_AI_ASSISTANT', 'https://devai-assistant.10web.io/'); |
| 65 | } |
| 66 | |
| 67 | if(!defined('TENWEB_AI_ASSISTANT_SUBSCRIPTION_ID')) { |
| 68 | define('TENWEB_AI_ASSISTANT_SUBSCRIPTION_ID', 333); |
| 69 | } |
| 70 | |
| 71 | if(!defined('TWM_ENABLE_PAYMENT')) { |
| 72 | define('TWM_ENABLE_PAYMENT', true); |
| 73 | } |
| 74 | |
| 75 | if(!defined('TENWEB_WOOCOM_API_URL')) { |
| 76 | define('TENWEB_WOOCOM_API_URL', 'https://devwoocom.10web.io/'); |
| 77 | } |
| 78 | |
| 79 | global $tenweb_services; |
| 80 | |
| 81 | $tenweb_services = array( |
| 82 | 'devoptimizer.10web.io', |
| 83 | 'devsecurity.10web.io', |
| 84 | 'devseo.10web.io', |
| 85 | 'devbackup.10web.io', |
| 86 | 'devmanager.10web.io', |
| 87 | 'devcore.10web.io', |
| 88 | 'devlxd.10web.io', |
| 89 | "devwvc.10web.io" |
| 90 | ); |
| 91 | |
| 92 | global $tenweb_regions; |
| 93 | |
| 94 | $tenweb_regions = array( |
| 95 | "asia-east1" => "Changhua County, Taiwan", |
| 96 | "asia-northeast1" => "Tokyo, Japan", |
| 97 | "asia-south1" => "Mumbai, India", |
| 98 | "asia-southeast1" => "Jurong West, Singapore", |
| 99 | "australia-southeast1" => "Sydney, Australia", |
| 100 | "europe-north1" => "Hamina, Finland", |
| 101 | "europe-west1" => "St. Ghislain, Belgium", |
| 102 | "europe-west2" => "London, England, UK", |
| 103 | "europe-west3" => "Frankfurt, Germany", |
| 104 | "europe-west4" => "Eemshaven, Netherlands", |
| 105 | "northamerica-northeast1" => "Montréal, Québec, Canada", |
| 106 | "southamerica-east1" => "São Paulo, Brazil", |
| 107 | "us-central1" => "Council Bluffs, Iowa, USA", |
| 108 | "us-east1" => "Moncks Corner, South Carolina, USA", |
| 109 | "us-east4" => "Ashburn, Northern Virginia, USA", |
| 110 | "us-west1" => "The Dalles, Oregon, USA", |
| 111 | "us-west2" => "Los Angeles, California, USA" |
| 112 | ); |
| 113 | |
| 114 | global $tenweb_firebaseConfig; |
| 115 | |
| 116 | $tenweb_firebaseConfig = [ |
| 117 | 'apiKey' => "AIzaSyBP3zPfSTMZxUqJsfmHMd6EJV2aITZ-3FY", |
| 118 | 'authDomain'=> "copilot-dev-64f1d.firebaseapp.com", |
| 119 | 'projectId'=> "copilot-dev-64f1d", |
| 120 | 'storageBucket'=> "copilot-dev-64f1d.appspot.com", |
| 121 | 'messagingSenderId'=> "101114320744", |
| 122 | 'appId'=> "1:101114320744:web:3a98c2010c93b6e7a0a8dd", |
| 123 | 'databaseURL' => "https://copilot-dev-64f1d.firebaseio.com", |
| 124 | ]; |
| 125 | |
| 126 |