diff --git a/system/config/dev.config.php b/system/config/dev.config.php index 855c5bbd..2b1a6226 100644 --- a/system/config/dev.config.php +++ b/system/config/dev.config.php @@ -19,6 +19,11 @@ class Dev { */ const SITE_URL = "http://devweb.local/comunic/v2/"; + /** + * About website access + */ + const ABOUT_WEBSITE_URL = "http://127.0.0.1:4000/"; + /** * Site production mode */ diff --git a/system/config/offline.config.php b/system/config/offline.config.php index 777fd6c9..6db8bcd3 100644 --- a/system/config/offline.config.php +++ b/system/config/offline.config.php @@ -14,6 +14,11 @@ class Offline { const API_SERVICE_NAME = "ComunicWeb"; const API_SERVICE_TOKEN = "12XU67pJUlnNQ"; + /** + * About website access + */ + const ABOUT_WEBSITE_URL = "http://127.0.0.1:4000/"; + /** * Site URL */ diff --git a/system/system.php b/system/system.php index 8c4e7452..a2666115 100644 --- a/system/system.php +++ b/system/system.php @@ -88,6 +88,9 @@ function get_javascript_config($config) : string { apiServiceName: '".$config::API_SERVICE_NAME."', apiServiceToken: '".$config::API_SERVICE_TOKEN."', + //About website URL + aboutWebsiteURL: '".$config::ABOUT_WEBSITE_URL."', + //Default language defaultLanguage: '".$config::DEFAULT_LANGUAGE."',