Location: PHPKode > projects > Work project > workproject/include_config.inc
<?php

	################################
	# TASK_USER Database Settings
	################################

	# --- database variables ---------

	# set these values to match your setup
	$g_hostname      = "127.0.0.1";
	$g_port          = 3306;         # 3306 is default
	$g_db_username   = "root";
	$g_db_password   = "";
	$g_database_name = "workproject";

	############################
	# TASK_USER Path Settings
	############################

	# --- path variables --------------

	# path to your installation as seen from the web browser
	# requires trailing /
	$g_directory	 = "workproject";
	$g_hostname_server = "127.0.0.1";
	$g_path          = "http://".$g_hostname_server."/".$g_directory."/";
	
	# --- log file -------------------
	$filename_log = "log_user.log";
	$g_file_log_directory="http://".$g_hostname_server."/".$filename_log;
	
	# path to your images directory (for icons)
	# requires trailing /
	$g_icon_path     = $g_path."images/";
	$g_icon_company  = $g_icon_path."logo_reduce.png";

	#############################
	# TASK Display
	#############################
	# --- display list -----------
	$g_display_limit = 10;
	$g_font_arial ="C:\WINDOWS\Fonts\ARIAL.TTF";

	# do NOT include href or img tags here
	# do NOT include tags that have parameters (eg. <font face="arial">)
	$g_html_tags              = array("<p>","</p>","<li>","</li>","<ul>","</ul>",
									"<ol>","</ol>","<br />","<br>","<pre>","</pre>",
									"<i>","</i>","<b>","</b>","<u>","</u>");


	#############################
	# TASK_USER Version String
	#############################

	# --- version variables -----------
	$g_TASK_USER_version = "0.1.8";
	$g_mail_admin = "hide@address.com";

	#############################
	# TASK_USER date format display
	#############################

	$g_date_format   = "%d/%m/%Y";
	$g_date_format_image   = "%d/%m/%y";
	$g_calendar_month = 1; #displays the calendar àf a user before x months and after x months the current date

	###################################
	# TASK_USER File Upload Settings
	###################################

	# --- file upload settings --------
	$g_allow_file_upload    = "ON";

	# Upload destination: specify actual location in project settings
	# DATABASE
	$g_file_upload_method   = "DATABASE"; #not used for this first version, all is uploaded into the database

	# Maximum file size that can be uploaded
	# Also check your PHP settings (default is usually 2MBs)
	$g_max_file_size        = 5000000; # 5 MB

	#############################
	# TASK_USER LDAP Settings
	#############################

	# look in README.LDAP for details

	# --- using openldap -------------
	$g_ldap_server       = "255.255.255.255:389";
	$g_ldap_root_dn      = "ou=employee, o=slb, c=an";
	$g_ldap_search		 = "l=sophia-antipolis"; #localisation or city
	$g_use_ldap			 = "OFF"; # to authorise the access to LDAP

	#############################
	# TASK_USER MAIL Settings
	#############################

	$g_phpMailer_method 	= 2;
	$g_smtp_host     		= "255.255.255.255";
	$g_from_email         	= $g_mail_admin;
	$g_to_email             = $g_mail_admin;
	$g_use_phpMailer 		= "OFF";
	$g_enable_email_notification 	= "OFF";
	$g_return_path_email    	= $g_mail_admin;

	###############################
	# TASK_USER Cookie Variables
	###############################

	# --- cookie path ---------------
	# set this to something more restrictive if needed
	# http://www.php.net/manual/en/function.setcookie.php
	$g_cookie_path = "/";

	# --- cookie prefix ---------------
	# set this to a unique identifier.  No spaces.
	$g_cookie_prefix = "TASK_USER";

	# --- cookie names ----------------
	$g_string_cookie           = $g_cookie_prefix."_STRING_COOKIE";
	$g_project_cookie          = $g_cookie_prefix."_PROJECT_COOKIE";

	# --- cookie values ---------------
	$g_string_cookie_val           = "";
	$g_project_cookie_val          = "";

	if ( isset( $HTTP_COOKIE_VARS[$g_string_cookie] ) ) {
		$g_string_cookie_val         = $HTTP_COOKIE_VARS[$g_string_cookie];
	}
	if ( isset( $HTTP_COOKIE_VARS[$g_project_cookie] ) ) {
		$g_project_cookie_val        = $HTTP_COOKIE_VARS[$g_project_cookie];
	}

?>
Return current item: Work project