Skip to content

Commit

Permalink
Installer: Introducing DbTasks prototype.
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10943 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tim Klingenberg committed Sep 3, 2011
1 parent 8b63d63 commit ca2cce6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
12 changes: 12 additions & 0 deletions application/controllers/installer.php
Expand Up @@ -25,6 +25,13 @@
* @access public
*/
class Installer extends CI_Controller {
/**
* dbTasks object used in installation.
* @var LS_Installer_DbTasks
*/
private $dbTasks;


/**
* Installer::__construct()
* Constructor
Expand All @@ -34,6 +41,11 @@ function __construct()
{
parent::__construct();
self::_checkInstallation();
//need to write unique encryption key before we can use session data.
self::_writeConfigfile();
require_once(APPPATH.'libraries/LS/LS.php');
$this->dbTasks = new LS_Installer_DbTasks;
$this->dbTasks->test();
}

/**
Expand Down
23 changes: 23 additions & 0 deletions application/libraries/LS/Installer/DbTasks.php
@@ -0,0 +1,23 @@
<?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$
*
* LS Library bootstrap file, work in progress.
*
* Currently requires require_once to use the library.
*/

class LS_Installer_DbTasks
{

}

0 comments on commit ca2cce6

Please sign in to comment.