Skip to content

Commit

Permalink
Removed unnecessary classes folder (duplicate classes). Moved adodb t…
Browse files Browse the repository at this point in the history
…o third_party folder. Updated classes paths.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10721 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
dionet committed Aug 13, 2011
1 parent 268c18f commit 20c202f
Show file tree
Hide file tree
Showing 217 changed files with 11 additions and 12,953 deletions.
12 changes: 6 additions & 6 deletions application/controllers/installer.php
Expand Up @@ -301,7 +301,7 @@ function install($step=0)
{

//to establish connection withh different DB.
require_once($this->config->item('rootdir').'/classes/adodb/adodb.inc.php');
require_once(APPPATH.'third_party/adodb/adodb.inc.php');
//lets assume


Expand Down Expand Up @@ -840,7 +840,7 @@ function optional()
}

//include(dirname(__FILE__).'/../../../config-sample.php');
require_once($this->config->item('rootdir').'/classes/adodb/adodb.inc.php');
require_once(APPPATH.'third_party/adodb/adodb.inc.php');

//check if passwords match , input class take care of any xss filetring or sql injection
if ($this->input->post('adminLoginPwd') == $this->input->post('confirmPwd'))
Expand Down Expand Up @@ -1030,7 +1030,7 @@ function createdb()
}

//include(dirname(__FILE__).'/../../../config-sample.php');
require_once($this->config->item('rootdir').'/classes/adodb/adodb.inc.php');
require_once(APPPATH.'third_party/adodb/adodb.inc.php');
$dbname = $this->session->userdata('dbname');
$databasetype = $this->session->userdata('databasetype');
$connect=ADONewConnection($databasetype);
Expand Down Expand Up @@ -1110,7 +1110,7 @@ function populatedb()
}

//include(dirname(__FILE__).'/../../../config-sample.php');
require_once($this->config->item('rootdir').'/classes/adodb/adodb.inc.php');
require_once(APPPATH.'third_party/adodb/adodb.inc.php');
$dbname = $this->session->userdata('dbname');
$databasetype = $this->session->userdata('databasetype');

Expand Down Expand Up @@ -1191,7 +1191,7 @@ function _modify_database($sqlfile='', $sqlstring='')


//include(dirname(__FILE__).'/../../../config-sample.php');
require_once($this->config->item('rootdir').'/classes/adodb/adodb.inc.php');
require_once(APPPATH.'third_party/adodb/adodb.inc.php');
$dbname = $this->session->userdata('dbname');
$databasetype = $this->session->userdata('databasetype');
$connect=ADONewConnection($databasetype);
Expand Down Expand Up @@ -1441,7 +1441,7 @@ function _getRandomID()
function _db_execute_num($sql,$inputarr=false)
{
//include(dirname(__FILE__).'/../../../config-sample.php');
require_once($this->config->item('rootdir').'/classes/adodb/adodb.inc.php');
require_once(APPPATH.'third_party/adodb/adodb.inc.php');
$dbname = $this->session->userdata('dbname');
$databasetype = $this->session->userdata('databasetype');
$connect=ADONewConnection($databasetype);;
Expand Down
2 changes: 1 addition & 1 deletion application/controllers/survey.php
Expand Up @@ -332,7 +332,7 @@ function action()
{
safe_die('You cannot start this script directly');
}
require_once(dirname(__FILE__).'/classes/core/language.php');
//require_once(dirname(__FILE__).'/classes/core/language.php');
$baselang = GetBaseLanguageFromSurveyID($surveyid);
$this->load->library('Limesurvey_lang',array("langcode"=>$baselang));
$clang = $this->limesurvey_lang;
Expand Down
2 changes: 1 addition & 1 deletion application/helpers/admin/statistics_helper.php
Expand Up @@ -3195,7 +3195,7 @@ function generate_statistics($surveyid, $allfields, $q2show='all', $usegraph=0,
if ($language=='ar')
{
$lblout=$lbl; //reset text order to original
include_once($rootdir.'/classes/core/Arabic.php');
$CI->load->library("admin/Arabic");
$Arabic = new Arabic('ArGlyphs');
foreach($lblout as $kkey => $kval){
if (preg_match("^[A-Za-z]^", $kval)) { //auto detect if english
Expand Down
4 changes: 2 additions & 2 deletions application/libraries/Limesurvey_lang.php
Expand Up @@ -188,7 +188,7 @@ function javascript_escape($str, $strip_tags=false, $htmldecode=false) {

}

require_once(dirname(__FILE__).'/../../classes/php-gettext/streams.php');
require_once(dirname(__FILE__).'/../../classes/php-gettext/gettext.php');
require_once(APPPATH.'third_party/php-gettext/streams.php');
require_once(APPPATH.'third_party/php-gettext/gettext.php');

?>
5 changes: 1 addition & 4 deletions application/libraries/Save.php
Expand Up @@ -457,10 +457,7 @@ function createinsertquery($surveyid, $move, $thissurvey, $thisstep, $postedfiel

$clang = $CI->limesurvey_lang;
$timeadjust = $CI->config->item("timeadjust");

require_once("classes/inputfilter/class.inputfilter_clean.php");
$myFilter = new InputFilter('','',1,1,1);


$fieldmap=createFieldMap($surveyid); //Creates a list of the legitimate questions for this survey

if (isset($_SESSION['insertarray']) && is_array($_SESSION['insertarray']))
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 20c202f

Please sign in to comment.