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,85 +1,86 @@
<?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: config-defaults.php 4334 2008-02-25 13:21:10Z c_schmitz $
*/
* 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: config.php 9651 2010-12-16 14:25:20Z c_schmitz $
*/
/* IMPORTANT NOTICE
* With LimeSurvey v1.70+ the configuration of LimeSurvey was simplified,
* Now config.php only contains the basic required settings.
* Some optional settings are also set by default in config-defaults.php.
* If you want to change an optional parameter, DON'T change values in config-defaults.php!!!
* Just copy the parameter into your config.php-file and adjust the value!
* All settings in config.php overwrite the default values from config-defaults.php
*/
* With LimeSurvey v1.70+ the configuration of LimeSurvey was simplified,
* Now config.php only contains the basic required settings.
* Some optional settings are also set by default in config-defaults.php.
* If you want to change an optional parameter, DON'T change values in config-defaults.php!!!
* Just copy the parameter into your config.php-file and adjust the value!
* All settings in config.php overwrite the default values from config-defaults.php
*/
/**
* queXS Configuration file - so you do not have to configure this file manually
*/
require_once(dirname(__FILE__).'/../../config.inc.php');
// Basic Setup
$databasetype = "mysql"; // ADOdb database driver - valid values are mysql, odbc_mssql or postgres
$databaselocation = LDB_HOST; // Network location of your Database - for odbc_mssql use the mssql servername, not localhost or IP
$databasetype = 'mysql'; // ADOdb database driver - valid values are mysql, mysqli, odbc_mssql, mssql_n, odbtp or postgres
// mysql: Recommended driver for mysql
// mysqli: Slightly faster driver for mysql - not on all server systems available
// odbc_mssql: MSSQL driver using ODBC with MS SQL Server
// mssqlnative: Native SQL Server driver for SQL Server 2005+
// mssql_n: Experimental driver for MS SQL Server which handles UTF-8 charsets
// odbtp: ODBTP driver to access MSSQL-Server is needed for this one - we also recommend to activate $databasepersistent for decent speed
// postgres: Standard postgres driver
$databaselocation = LDB_HOST; // Network location of your Database - for odbc_mssql or mssqlnative use the mssql servername, not localhost or IP
$databasename = LDB_NAME; // The name of the database that we will create
$databaseuser = LDB_USER; // The name of a user with rights to create db (or if db already exists, then rights within that db)
$databasepass = LDB_PASS; // Password of db user
$databasepass = LDB_PASS; // Password of db user
$dbprefix = LIME_PREFIX; // A global prefix that can be added to all LimeSurvey tables. Use this if you are sharing
// a database with other applications. Suggested prefix is "lime_"
// a database with other applications. Suggested prefix is 'lime_'
// File Locations
$rooturl = substr(LIME_URL,0,-1); //The root web url for your limesurvey installation (without a trailing slash).
$rooturl = substr(LIME_URL,0,-1); // The root web url for your limesurvey installation (without a trailing slash).
// The double quotes (") are important.
$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this setting.
// If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir="C:\Inetpub\wwwroot\limesurvey"!
// Some IIS installations also require to use forward slashes instead of backslashes, e.g. $rootDir="C:/Inetpub/wwwroot/limesurvey"!
// If you use OS/2 this must be the complete rootdir with FORWARD slashes e.g.: $rootDir="c:/limesurvey";!
// Site Setup
$sitename = "LimeSurvey"; // The official name of the site (appears in the Window title)
$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this
// setting. If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir='C:\Inetpub\wwwroot\limesurvey'!
// Some IIS and OS/2 installations also require to use forward slashes
// instead of backslashes, e.g. $rootDir='C:/Inetpub/wwwroot/limesurvey'!
$defaultuser = "admin"; // This is the default username when LimeSurvey is installed
$defaultpass = "password"; // This is the default password for the default user when LimeSurvey is installed
// Installation Setup
$defaultuser = 'admin'; // This is the username when LimeSurvey is installed and the administration user is created on installation
$defaultpass = 'password'; // This is the password for the administration user when LimeSurvey is installed
// Email Settings
$siteadminemail = "your@email.org"; // The default email address of the site administrator
$siteadminbounce = "your@email.org"; // The default email address used for error notification of sent messages for the site administrator (Return-Path)
$siteadminname = "Your Name"; // The name of the site administrator
// Debug Settings
$debug = 0; // Set this to 1 if you are looking for errors. If you still get no errors after enabling this
// then please check your error-logs - either in your hosting provider admin panel or in some /logs dir
// on your webspace.
// LimeSurvey developers: Set this to 3 to circumvent the restriction to remove the installation directory and full access to standard templates
// or to change the password. If you set it to 3 then PHP STRICT warnings will be shown additionally.
$defaultlang = DEFAULT_LOCALE;
$defaulttemplate = "quexs";
$useWebserverAuth = true;
$WebserverAuth_autocreateUser = true;
$WebserverAuth_autouserprofile = Array(
'full_name' => 'autouser',
'email' => $siteadminemail,
'lang' => DEFAULT_LOCALE,
'htmleditormode' => $defaulthtmleditormode,
'templatelist' => 'default,basic',
'create_survey' => 1,
'create_user' => 1,
'delete_user' => 1,
'superadmin' => 1,
'configurator' => 1,
'manage_template' => 1,
'manage_label' => 1);
'full_name' => 'autouser',
'email' => $siteadminemail,
'htmledtirmode' => $defaulthtmleditormode,
'templatelist' => 'default,basic',
'create_survey' => 1,
'lang' => DEFAULT_LOCALE,
'create_user' => 1,
'delete_user' => 1,
'superadmin' => 1,
'configurator' => 1,
'manage_template' => 1,
'manage_label' => 1);
?>