mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Split configuration file in to default and user configuration
Made LimeSurvey configuration rely on queXS configuration so it does not need to be configured twice
This commit is contained in:
@@ -29,76 +29,40 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Only some of the configuration directives are here. See the file: config.default.php for them all
|
||||
*
|
||||
* Make your configuration changes in this file only - they will "overwrite" the default configuration
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* The default time zone
|
||||
*/
|
||||
define('DEFAULT_TIME_ZONE', 'Australia/Victoria');
|
||||
|
||||
|
||||
/**
|
||||
* Date time format for displaying
|
||||
*
|
||||
* see http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_date-format
|
||||
* for configuration details for DATE_TIME_FORMAT and TIME_FORMAT
|
||||
*/
|
||||
define('DATE_TIME_FORMAT','%a %d %b %I:%i%p');
|
||||
|
||||
/**
|
||||
* Time format for displaying: see above for mySQL details
|
||||
*/
|
||||
define('TIME_FORMAT','%I:%i%p');
|
||||
|
||||
/**
|
||||
* Flag for VoIP with Asterisk to be enabled or not
|
||||
*/
|
||||
define('VOIP_ENABLED',true);
|
||||
define('VOIP_ENABLED',false);
|
||||
|
||||
/**
|
||||
* The Asterisk server address
|
||||
*/
|
||||
define('VOIP_SERVER','asterisk.dcarf');
|
||||
|
||||
/**
|
||||
* The meet me room id for the VOIP Server
|
||||
*/
|
||||
define('MEET_ME_ROOM','5000');
|
||||
|
||||
/**
|
||||
* Whether to automatically pop up a coding window when the respondent hangs up
|
||||
*/
|
||||
define('AUTO_POPUP',false);
|
||||
|
||||
/**
|
||||
* The extension of the supervisor for dialing the supervisor
|
||||
*/
|
||||
define('SUPERVISOR_EXTENSION',"0392517290");
|
||||
|
||||
/**
|
||||
* The path to limesurvey
|
||||
*/
|
||||
define('LIME_PATH', 'include/limesurvey/');
|
||||
|
||||
/**
|
||||
* The path to queXS from the server root
|
||||
*/
|
||||
define('QUEXS_PATH', '/quexs/');
|
||||
|
||||
/**
|
||||
* The complete URL to limesurvey
|
||||
*/
|
||||
define('LIME_URL','http://' . $_SERVER['SERVER_NAME'] . QUEXS_PATH . LIME_PATH);
|
||||
|
||||
/**
|
||||
* The complete URL to this copy of queXS
|
||||
*/
|
||||
define('QUEXS_URL','http://' . $_SERVER['SERVER_NAME'] . QUEXS_PATH);
|
||||
|
||||
/**
|
||||
* The default locale (language)
|
||||
*/
|
||||
define('DEFAULT_LOCALE','en');
|
||||
|
||||
|
||||
/**
|
||||
* Path to ADODB
|
||||
*/
|
||||
@@ -109,23 +73,10 @@ define('ADODB_PATH',dirname(__FILE__).'/../adodb/');
|
||||
*/
|
||||
define('DB_USER', 'quexs');
|
||||
define('DB_PASS', 'quexs');
|
||||
define('DB_HOST', 'database.dcarf');
|
||||
define('DB_HOST', 'databasedev.dcarf');
|
||||
define('DB_NAME', 'quexs');
|
||||
define('DB_TYPE', 'mysqlt');
|
||||
|
||||
/**
|
||||
* The prefix for the limesurvey database
|
||||
*/
|
||||
define('LIME_PREFIX','lime_');
|
||||
|
||||
/**
|
||||
* Limesurvey database information
|
||||
*/
|
||||
define('LDB_USER', 'quexs');
|
||||
define('LDB_PASS', 'quexs');
|
||||
define('LDB_HOST', 'database.dcarf');
|
||||
define('LDB_NAME', 'quexs');
|
||||
define('LDB_TYPE', 'mysqlt');
|
||||
|
||||
|
||||
//Do not modify the following line:
|
||||
include(dirname(__FILE__).'/config.default.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user