You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
<?php
 | 
						|
	$PROJECT_ROOT=__DIR__;
 | 
						|
	$PHP_ROOT="$PROJECT_ROOT/php";
 | 
						|
	$CACHE_ROOT="$PROJECT_ROOT/cache";
 | 
						|
	$DOCUMENT_ROOT="$PROJECT_ROOT/output";
 | 
						|
	$ROOMS_FILE="$DOCUMENT_ROOT/servers.json";
 | 
						|
	$TEMPLATES_ROOT="$PROJECT_ROOT/sites";
 | 
						|
	$LANGUAGES_ROOT="$PROJECT_ROOT/languages";
 | 
						|
	$QR_CODES="$DOCUMENT_ROOT/qr-codes";
 | 
						|
	$QR_CODES_RELATIVE="qr-codes";
 | 
						|
	$ROOM_ICONS_CACHE="$CACHE_ROOT/icons";
 | 
						|
	$ROOM_ICONS="$DOCUMENT_ROOT/icons";
 | 
						|
	$ROOM_ICONS_RELATIVE="icons";
 | 
						|
	$LONG_TERM_CACHE_ROOT="$PROJECT_ROOT/cache-lt";
 | 
						|
	$SOURCES_CACHE="$LONG_TERM_CACHE_ROOT/sources";
 | 
						|
 | 
						|
	$LISTING_PROVIDER_ROOT="$PROJECT_ROOT/listings";
 | 
						|
	$LISTINGS_INI="$LISTING_PROVIDER_ROOT/listings.ini";
 | 
						|
	$LISTING_PROVIDER_OUTPUT="$LISTING_PROVIDER_ROOT/lp-output";
 | 
						|
	$LISTING_PROVIDER_LISTING_SUMMARY="$LISTING_PROVIDER_OUTPUT/listings";
 | 
						|
	$LISTING_PROVIDER_LISTINGS="$LISTING_PROVIDER_OUTPUT/listing";
 | 
						|
 | 
						|
	$REPOSITORY_CANONICAL_URL="https://codeberg.org/gravel/sessioncommunities.online";
 | 
						|
	$REPOSITORY_MIRROR_URL="https://lokilocker.com/gravel/sessioncommunities.online";
 | 
						|
	$REPOSITORY_CANONICAL_URL_FILES="$REPOSITORY_CANONICAL_URL/src/branch/main";
 | 
						|
	$API_CANONICAL_URL="https://lp.sessioncommunities.online/";
 | 
						|
 | 
						|
	set_include_path(implode(PATH_SEPARATOR, array(
 | 
						|
		get_include_path(),
 | 
						|
		$PHP_ROOT,
 | 
						|
		$PROJECT_ROOT
 | 
						|
	)));
 | 
						|
 | 
						|
	// do not report warnings (timeouts, SSL/TLS errors)
 | 
						|
	error_reporting(E_ALL & ~E_WARNING);
 | 
						|
 | 
						|
	date_default_timezone_set('UTC');
 |