Files
FHC-Core/application/config/dbskel.php
T
Paolo e8aeefd966 - Added configuration file for DBSkel
- Added library for DBSkel logic
2019-05-28 17:10:30 +02:00

28 lines
931 B
PHP

<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable DBSkel procedure
|--------------------------------------------------------------------------
|
| DBSkel is disabled by default for security reasons.
| You should enable DBSkel whenever you intend to use DBSkel
|
*/
$config['dbskel_enabled'] = false;
/*
|--------------------------------------------------------------------------
| DBSkel mode
|--------------------------------------------------------------------------
|
| This is used to set the dbskel mode:
| - dryrun: run without changing the database, useful for testing
| - new: build a new database or if database is already present creates only new objects
| - diff: like new, but it also remove object from database that are NOT present in configuration files
|
*/
$config['dbskel_mode'] = 'dryrun';