<?php
/*
        (c)ASTA Technology Group 2008.
*/

//the only setting for now:
error_reporting(E_ERROR & ~E_DEPRECATED);
$xml_server_url = "http://vpn1.amjayvpn.com:80/";
$xml_server_url_secure = "https://vpn1.amjayvpn.com:80/";


//$xml_server_url = "http://72.55.145.241:80/";
//$xml_server_url = "http://206.248.138.246:80/";
//$xml_server_url = "http://173.193.202.113:80/";

    //remember the / at the end
//$xml_server_url_secure = "https://72.55.145.241:443/"; 
//$xml_server_url_secure = "https://206.248.138.246:443/"; 
//$xml_server_url_secure = "https://173.193.202.113:80/"; 

  
//remember the / at the end   
$xml_use_ssl = true; // use SSL for XML queries by default?   
$global_xml_debug =true;      //** Set to True if you want to debug (will show xml back and forth)
$debug_skip_ssl_check = true; //allows to test on an HTTP server (won't redirect to HTTPS)

$xml_use_compression= false;
$xml_cache_enabled = false;
$xml_cache_path = "cache";
$speed_tests = false;
$pass_sid_to_https = false; //(NOT USED) set to true if http and https are on different domains

$webportal_time_diff=-2;//to use php date/time functions this will create a timestamp that matches the server
$webportal_enable_order_confirmation =true; //show confirmation page before reordering
$webportal_use_agreement = true;
$webportal_initial_password_change = true;

$session_cookie_lifetime = 0; //0=don't store cookies after the user closes the browser
$session_lifetime = 60*50; //automatically log out a user after this number of seconds




/*
       *************************************
       *VARIABLES TO EDIT FOR EACH NEW SITE*
       *************************************
*/
$title="Amjay Test Pharmacy";
$mobilename="Amjay Test Pharmacy";
$images_website_address="localhost/erefillsultimatelocator";
$application_website_address="localhost/erefillsultimatelocator";
$website_address="http://amjaysoftware.com/";
$directory_template="templates_responsive";
$flyertype="Katz";
$flyerstoreid="548144";
$scode="MillieTest";
$css_name="css/colour-blue2.css";
$warninglabel=false;
$logofile="img/logo.png";


$meta_content_type="text/html; charset=UTF-8";
$meta_description="";
$meta_keywords="";

$prefix_http="http";
$prefix_secure_http="http";

$directory_php="erefillsultimatelocator/centralprofile";
$directory_xml_template="templates_xml";
$directory_images="images";
$directory_static_images="img/features";
$directory_dpics_images="/home/erefi104/public_html/centralprofile/images/drugpics/";


/*
***********
* Modules *
***********
*/
$erefill=true;
$advanced=true;
$grouplogin=true;
$delivery=true;
$curbside=true;
$storecombo='<option value='.'"'.'4164804502'.'"'. 'selected=' . '"' . 'selected' . '"' . '>Sunnybrook' . '</option>';
$refillmessage=true;
$refilltitle='PLEASE NOTE';
$refillnote='Prescriptions will be ready the next Business day. Please indicate any special instructions/preferred pickup time in the note section.';



$erefilllink="$prefix_secure_http://$application_website_address/$directory_php/orderpage2.php";
$advancedlink="$prefix_secure_http://$application_website_address/$directory_php/login.php";
$grouploginlink="$prefix_secure_http://$application_website_address/$directory_php/logingroup.php";




$root_path = "$prefix_http://$application_website_address/$directory_php";
$root_secure_path = "https://$application_website_address/$directory_php";

$css_http="$prefix_http://$application_website_address/$directory_php/$directory_template/$css_name";
$css_secure_http="$prefix_secure_http://$application_website_address/$directory_php/$directory_template/$css_name";

$images_http_prefix = "$prefix_http://$images_website_address/$directory_php/$directory_images/";
$images_https_prefix = "$prefix_secure_http://$images_website_address/$directory_php/$directory_images/";


$staticimages_http_prefix = "$prefix_http://$application_website_address/$directory_php/$directory_static_images";
$staticimages_https_prefix = "$prefix_secure_http://$application_website_address/$directory_php/$directory_static_images";



$root_home_page="$prefix_http://$application_website_address/$directory_php";
$root_logout="$prefix_http://$website_address";


$languages = array(
	
	0 => array(
		'name' => "$title",
		'templates_dir_html' => "$directory_template/",
		'templates_dir_hawxml' => "$directory_xml_template/",
              
		)
);





$language_default = 0;

$storesettings=array(
      

);



//END OF SETTINGS, DO NOT CHANGE ANYTHING BELOW THIS LINE

$st_time = getmicrotime();
$request_ssl = (getenv('HTTPS') == 'on') || (@$_SERVER['HTTPS']=='on');

function getmicrotime() 
{ 
    list($usec, $sec) = explode(" ", microtime()); 
    return ((float)$usec + (float)$sec); 
}

//includes
//include_once("'PHPMailerAutoload.php'");
include_once("common.inc.php");
include_once("getinfo.inc.php");
include_once("parser.inc.php");
include_once("urls.inc.php");
include_once("php-to-detect-mobile-phones.php");

@session_set_cookie_params($session_cookie_lifetime);
@session_start();
?>