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

Merging the updated Limesurvey 1.92+ branch of queXS to trunk

This commit is contained in:
azammitdcarf
2012-11-21 04:04:39 +00:00
parent 153fc8ca0d
commit c569559964
856 changed files with 254260 additions and 819988 deletions

View File

@@ -10,7 +10,7 @@
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*
* $Id: lsrc.client.php 9648 2011-01-07 13:06:39Z c_schmitz $
* $Id: lsrc.client.php 9031 2010-08-05 15:07:08Z wahrendorff $
*
*/
class lsrcClient {

View File

@@ -1,78 +1,78 @@
<?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 8540 2010-03-31 11:37:19Z texens $
*
*/
### Including
// 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_once("../../config-defaults.php");
require_once(dirname(__FILE__).'/../../common.php');
}
### Error Handling
// simple debug Option
ini_set("error_reporting","E_ALL");
//specialized debug option, true for own debuglog
$lsrcDebug = true;
$lsrcDebugLog = "lsrc.log";
// error log enabled, hint(.../apache/logs/error.log) this is very handy while developing, since SOAP does not echo php error messages to the client
// it's also recommended to set this in productive environment
ini_set("log_errors", "1");
### Caching
//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");
### Security
// 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=false; //default: false
// enable if you use a certificate for the Connections
// IMPORTANT NOTE: your Client need the same certificate to connect with.
$useCert=false; //default: false
// path to your local certificate
$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.
$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,
* one for addable groups,
* one for addable questions
*/
$coreDir = "./surveys/";
$modDir = "./groups/";
$queDir = "./questions/";
//seperator for Tokens in sInsertToken function
$sLsrcSeparator = ","; //default: ","
//set the Seperators for Participant Datasets in sInsertParticipants
$sDatasetSeperator = "::"; //default: "::"
$sDatafieldSeperator = ";"; //default: ";"
<?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 8540 2010-03-31 11:37:19Z texens $
*
*/
### Including
// 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_once("../../config-defaults.php");
require_once(dirname(__FILE__).'/../../common.php');
}
### Error Handling
// simple debug Option
ini_set("error_reporting","E_ALL");
//specialized debug option, true for own debuglog
$lsrcDebug = true;
$lsrcDebugLog = "lsrc.log";
// error log enabled, hint(.../apache/logs/error.log) this is very handy while developing, since SOAP does not echo php error messages to the client
// it's also recommended to set this in productive environment
ini_set("log_errors", "1");
### Caching
//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");
### Security
// 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=false; //default: false
// enable if you use a certificate for the Connections
// IMPORTANT NOTE: your Client need the same certificate to connect with.
$useCert=false; //default: false
// path to your local certificate
$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.
$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,
* one for addable groups,
* one for addable questions
*/
$coreDir = "./surveys/";
$modDir = "./groups/";
$queDir = "./questions/";
//seperator for Tokens in sInsertToken function
$sLsrcSeparator = ","; //default: ","
//set the Seperators for Participant Datasets in sInsertParticipants
$sDatasetSeperator = "::"; //default: "::"
$sDatafieldSeperator = ";"; //default: ";"
?>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff