From 688a9de2b19e6357df7fa9682e8ea95bc2a08468 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 10 May 2018 15:00:10 +0200 Subject: [PATCH] Added About Website URL (offline) --- system/config/dev.config.php | 5 +++++ system/config/offline.config.php | 5 +++++ system/system.php | 3 +++ 3 files changed, 13 insertions(+) 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."',