mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Added About Website URL (offline)
This commit is contained in:
		@@ -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
 | 
			
		||||
	 */
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
	 */
 | 
			
		||||
 
 | 
			
		||||
@@ -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."',
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user