Added About Website URL (offline)

This commit is contained in:
Pierre 2018-05-10 15:00:10 +02:00
parent 2c260c7174
commit 688a9de2b1
3 changed files with 13 additions and 0 deletions

View File

@ -19,6 +19,11 @@ class Dev {
*/ */
const SITE_URL = "http://devweb.local/comunic/v2/"; const SITE_URL = "http://devweb.local/comunic/v2/";
/**
* About website access
*/
const ABOUT_WEBSITE_URL = "http://127.0.0.1:4000/";
/** /**
* Site production mode * Site production mode
*/ */

View File

@ -14,6 +14,11 @@ class Offline {
const API_SERVICE_NAME = "ComunicWeb"; const API_SERVICE_NAME = "ComunicWeb";
const API_SERVICE_TOKEN = "12XU67pJUlnNQ"; const API_SERVICE_TOKEN = "12XU67pJUlnNQ";
/**
* About website access
*/
const ABOUT_WEBSITE_URL = "http://127.0.0.1:4000/";
/** /**
* Site URL * Site URL
*/ */

View File

@ -88,6 +88,9 @@ function get_javascript_config($config) : string {
apiServiceName: '".$config::API_SERVICE_NAME."', apiServiceName: '".$config::API_SERVICE_NAME."',
apiServiceToken: '".$config::API_SERVICE_TOKEN."', apiServiceToken: '".$config::API_SERVICE_TOKEN."',
//About website URL
aboutWebsiteURL: '".$config::ABOUT_WEBSITE_URL."',
//Default language //Default language
defaultLanguage: '".$config::DEFAULT_LANGUAGE."', defaultLanguage: '".$config::DEFAULT_LANGUAGE."',