Subversion Repositories cheapmusic

Rev

Rev 73 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 73 Rev 153
Line 1... Line 1...
1
<?php
1
<?php
2
/*
2
/*
3
 * Basic Site Settings and API Configuration
3
 * Basic Site Settings and API Configuration
4
*/
4
*/
5
 
5
 
6
$configFile = parse_ini_file($_SERVER['DOCUMENT_ROOT'] . FCM_CONFIGFILE, true);
6
$configFile = parse_ini_file(FCM_CONFIGFILE, true);
7
 
7
 
8
// Base URL of the application
8
// Base URL of the application
9
$baseURL = (isset($_SERVER["HTTPS"]) ? "https://" : "http://") . $_SERVER["HTTP_HOST"];
9
$baseURL = (isset($_SERVER["HTTPS"]) ? "https://" : "http://") . $_SERVER["HTTP_HOST"];
10
$baseURL .= str_replace(basename($_SERVER["SCRIPT_NAME"]) , "", $_SERVER["SCRIPT_NAME"]);
10
$baseURL .= str_replace(basename($_SERVER["SCRIPT_NAME"]) , "", $_SERVER["SCRIPT_NAME"]);
11
if (substr($baseURL, -2) == '//') {
11
if (substr($baseURL, -2) == '//') {