Location: PHPKode > projects > Homeless Mangement Information System > hmis/include/initialize.inc
//*Client Data System, ver. 1.0, Copyright (C) 2000, 2001, 2002, 2003 Tedd Kelleher.  This is free software, subject to the 
//*GNU GENERAL PUBLIC LICENSE, Version 2, June 1991 (in file named gpl.txt), which should accompany 
//*any distribution of this file.  Tedd Kelleher can be contacted at hide@address.com

////This file contains all the variables used to set-up the data system

//!!!!!IMPORTANT NOTE!!!!!!! - Although the default Login (postgres) and Password will likely work with a default 
/////// setup of PostgreSQL, your HMIS may be vuneralble to cracking unless you setup you PostgreSQL more 
//////  securely, which includes setting a password for the postgres user.  
////// Also, the HMIS database should not run as the postgres (super) user.  For details on setting up PostgreSQL securely, 
////// visit postgresql.org

//Windows and Linux do not handle negative timestamps which is very bad.  System must handle dates prior to 1-1-1970 in some cases.
//Set to '' empty string or don't include param if neither windows or linux which don't like negative timestamps.
$os_of_webserver_is_windows_or_linux = true;

//Tabindex preference.  If set to 'explicit' then tab indexes are all built based on $question_display_order.
//If set to 'implicit' tabindex is never set, and so is simply based on html layout, top to bottom, left to right.
//If set to 'mixed' then all tabindexes are set to 1 except the no answer options which are always set to 2.
$tabbing_preference = 'mixed';

//Login to DB
$db_login = 'postgres';
//$db_login = 'hendris';

//Password to DB
$db_password = '';
//$db_password = '';

//Name of the Database
$db_name = 'hmis';
//$db_name = '';

//Unique character added to sequence to make the sequence unique.  This allows the running of 
//more than one "Data System" on the same server. Deprecated now tht Postgres allows sequences with same name in different DBs
$unique_seq = 'b';

//Address to database server, i.e. "localhost"
$db_server_address = 'localhost';

//Name of System Displayed on Title Banner
$system_title = 'HMIS';

//The html subdirectory that files reside in
//$system_directory = '/SafeHarbors/';
$system_directory = '/hmis/';

//The subdirectory under the include root to pull files from
$include_root = 'include/';

//The subdirectory that templates are located in
//For Unix
$true_path = '/var/www/html/hmis/';
//For Windows
//$true_path = 'C:\\cygwin\\home\\Admin\\hmis\\';
//$true_path = 'd:\\inetpub\\wwwroot\\SafeHarbors\\';
//$true_path = 'c:\\inetpub\\wwwroot\\hmis\\';

//echo "Hello";
//Allow long-term login cookies
//This is very dangerous, and should not be used on deployed systems. Only for testing.
$use_cookie_login = 'no';

$report_template_path = $true_path.'report_templates/';
$html_template_path = $true_path.'html_templates/';

//SQL server selection
//To use PostgreSQL, uncomment the following line
$db_file = 'db_connection_pgsql';
//$db_version = 'pg_7.2'; //use for Redhat 8 and Debian/Woody
$db_version = 'pg_7.3'; //Use for Redhat 9 and Debian/Sarge

//To use Microsoft SQL Server, uncomment the following line
//$db_file = 'db_connection_mssql';

///To make the email subsystem work, you must configure the variables in /include/email_class.inc

//$true_path = getenv("DOCUMENT_ROOT")."/".$include_root."/html_templates/";
//echo $html_template_path; 

//The name of the current page, including path (i.e, "/data_system/index.php")
$this_page = $system_directory.basename($HTTP_SERVER_VARS["PHP_SELF"]);
//echo "PHP Self is: ".$HTTP_SERVER_VARS["PHP_SELF"]."<br/>";
//echo $this_page." PAGE NAME<br>";

$group_term = 'Agency';
$organization_term = 'Program';

////Background Image
//$background_image = 'gray_paint.jpg';
$background_image = '';

$time_out = 5000000;
Return current item: Homeless Mangement Information System