From c3f4be3eb41ac97f51058eac0213c4e84a9c955c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 4 Jan 2017 20:15:45 -0700 Subject: [PATCH] Create config.php --- debian/resources/fusionpbx/config.php | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 debian/resources/fusionpbx/config.php diff --git a/debian/resources/fusionpbx/config.php b/debian/resources/fusionpbx/config.php new file mode 100644 index 0000000..b66bacc --- /dev/null +++ b/debian/resources/fusionpbx/config.php @@ -0,0 +1,46 @@ + + Portions created by the Initial Developer are Copyright (C) 2008-2016 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Mark J Crane +*/ + +//set the database type + $db_type = 'pgsql'; //sqlite, mysql, pgsql, others with a manually created PDO connection + +//sqlite: the db_name and db_path are automatically assigned however the values can be overidden by setting the values here. + //$db_name = 'fusionpbx.db'; //host name/ip address + '.db' is the default database filename + //$db_path = '/var/www/fusionpbx/secure'; //the path is determined by a php variable + +//pgsql: database connection information + $db_host = 'localhost'; //set the host only if the database is not local + $db_port = '5432'; + $db_name = 'fusionpbx'; + $db_username = 'fusionpbx'; + $db_username = '{database_username}'; + $db_password = '{database_password}'; + +//show errors + ini_set('display_errors', '1'); + //error_reporting (E_ALL); // Report everything + error_reporting (E_ALL ^ E_NOTICE); // hide notices + //error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings