mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Created online configuration
This commit is contained in:
		
							
								
								
									
										35
									
								
								system/config/online.config.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								system/config/online.config.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					<?php
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Online build configuration
 | 
				
			||||||
 | 
					 * 
 | 
				
			||||||
 | 
					 * @author Pierre HUBERT
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					//This configuration is based on the offline configuration
 | 
				
			||||||
 | 
					require_once __DIR__."/offline.config.php";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Online extends Offline {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * API access and credentials
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						const API_URL = "https://api.communiquons.org/";
 | 
				
			||||||
 | 
						const API_SERVICE_NAME = "ComunicWebBeta";
 | 
				
			||||||
 | 
						const API_SERVICE_TOKEN = "txC7K5snAT";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * Site URL
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						const SITE_URL = "https://beta.communiquons.org/";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * Site production mode
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						const PROD_MODE = TRUE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * Path to assets (URL)
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						const ASSETS_URL = "https://beta.communiquons.org/assets/";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user