2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Merging the Limesurvey 1.91+ branch of queXS in to the trunk

This commit is contained in:
azammitdcarf
2011-09-08 01:58:41 +00:00
parent dfa55a3b9e
commit eaa9578ab8
2312 changed files with 811461 additions and 597534 deletions

View File

@@ -1,27 +1,26 @@
<?php
/*
* LimeSurvey
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
* All rights reserved.
* License: GNU/GPL License v2 or later, see LICENSE.php
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*
* $Id: lsrc.config.php 6937 2009-05-26 12:28:29Z wahrendorff $
*
*/
* LimeSurvey
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
* All rights reserved.
* License: GNU/GPL License v2 or later, see LICENSE.php
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*
* $Id: lsrc.config.php 8540 2010-03-31 11:37:19Z texens $
*
*/
### Including
// including LimeSurvey configs, for database variables and more...
// including LimeSurvey configs, for database variables and more...
// only include if this config is not used to save a survey.csv for the lsrc
if(!isset($export4lsrc))
{
include("../../config-defaults.php");
include("../../config.php");
require_once(dirname(__FILE__).'/../../common.php');
include_once("../../config-defaults.php");
require_once(dirname(__FILE__).'/../../common.php');
}
### Error Handling
// simple debug Option
@@ -37,15 +36,15 @@ ini_set("log_errors", "1");
### Caching
//we don't like caching while testing, so we disable it...
//we don't like caching while testing, so we disable it...
//for productiv use it's recommended to set this to 1 or comment it out for webserver default
ini_set("soap.wsdl_cache_enabled", "0");
ini_set("soap.wsdl_cache_enabled", "0");
### Security
// enable for ssl connections
// enable for ssl connections
// this is for wsdl generation, on true the url to the server in the wsdl beginns with https instead of http
$lsrcOverSSL=true; //default: false
$lsrcOverSSL=false; //default: false
// enable if you use a certificate for the Connections
// IMPORTANT NOTE: your Client need the same certificate to connect with.
@@ -55,12 +54,12 @@ $sslCert='D:\\xampp\apache\privkey.pem';
//C:\\path\myCert.pem
### Variables
// path to the wsdl definition for this server... normally it is in the same directory, so you don't need to change it.
// path to the wsdl definition for this server... normally it is in the same directory, so you don't need to change it.
$wsdl= $homedir."/remotecontrol/lsrc.wsdl"; //default: $homedir."/remotecontrol/lsrc.wsdl";
/**
* These are the Dirs where the prepared survey csv's are or have to be.
* one for the core surveys,
* These are the Dirs where the prepared survey csv's are or have to be.
* one for the core surveys,
* one for addable groups,
* one for addable questions
*/
@@ -72,7 +71,7 @@ $queDir = "./questions/";
//seperator for Tokens in sInsertToken function
$sLsrcSeparator = ","; //default: ","
//set the Seperators for Participant Datasets in sInsertParticipants
//set the Seperators for Participant Datasets in sInsertParticipants
$sDatasetSeperator = "::"; //default: "::"
$sDatafieldSeperator = ";"; //default: ";"