Added previously deleted DBSkel files and dirs

This commit is contained in:
Paolo
2020-04-15 17:21:01 +02:00
parent 70a8e5deae
commit d1e1957f28
11 changed files with 1428 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class DBSkel extends CLI_Controller
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->load->library('DBSkelLib');
}
/**
* Starts the DBSkel procedure
*/
public function start($step = null, $selectedDirectories = null)
{
// If the DBSkel procedure fails then exit with an error
// In this way it's possible to undestand from console what is the exit status of the procedure
$this->dbskellib->start($step, $selectedDirectories) === true ? exit(0) : exit(1);
}
}