1<?php
2	/*
3		This is the custom config file for PHPRecipeBook. Put the values you wish to customize
4		in this file. The values that should work for a default install are pulled in from
5		includes/config_inc.php.  You can look at that file for possible values you can put
6		in this one.  Any values put in this file will override config_inc.php
7	*/
8
9	##################################
10	## Directory Settings 	  		##
11	##################################
12	// Set the path information (Leaving these commented out should work)
13	//global $g_rb_basedir, $g_rb_baseurl;
14	//$g_rb_basedir = "/var/www/html/phprecipebook/";
15	//$g_rb_baseurl = "/phprecipebook/";
16
17	// If you change the default paths above uncomment these
18	//global $g_sm_adodb, $g_sm_phpmailer;
19	//$g_sm_dir = $g_rb_basedir . "libs/phpsm/";
20	//$g_sm_url = $g_rb_baseurl . "libs/phpsm/";
21	//$g_sm_adodb = "/var/www/shared/libs/adodb/adodb.inc.php";
22	//$g_sm_phpmailer = "/var/www/shared/libs/phpmailer/class.phpmailer.php";
23
24	// Make sure these email settings are valid otherwise the new users will not get their passwords
25	global $g_sm_admin_email, $g_sm_admin_name, $g_sm_email_hosts;
26	$g_sm_admin_email = "user@host.com";		// set the system email address
27	$g_sm_admin_name = "PHPRecipeBook Manager"; // name of admin in emails
28	$g_sm_email_hosts = "mailserver.host.com"; 	// set the smtp hosts to use for mailing (you could use sendmail if you wanted).
29
30	// Set the Theme
31	global $g_rb_theme;
32	$g_rb_theme="default";
33
34	#############################################
35	## Database Connection options (required)  ##
36	#############################################
37	/*
38		Select one type: (mysql,postgres)
39		see adodb readme files for more options
40	*/
41	global $g_rb_database_type, $g_rb_database_host, $g_rb_database_name, $g_rb_database_user, $g_rb_database_password;
42
43	// Example PostgreSQL Settings
44	/*$g_rb_database_type = "postgres";
45	$g_rb_database_host = "localhost:5432";
46	$g_rb_database_name = "recipedb";
47	$g_rb_database_user = "postgres";
48	$g_rb_database_password = "";*/
49
50	// Example MySQL settings
51	$g_rb_database_type = "mysql";
52	$g_rb_database_host = "localhost:/var/lib/mysql/mysql.sock";
53	$g_rb_database_name = "recipedb";
54	$g_rb_database_user = "root";
55	$g_rb_database_password = "";
56
57?>
58