remove db_conf_path configuration
Cette révision appartient à :
Parent
bbc379b70b
révision
d98a79efce
@ -2,6 +2,10 @@
|
||||
|
||||
namespace Deployer;
|
||||
|
||||
set('db_conf_path', function () {
|
||||
return '{{deploy_path}}/database/.my.cnf';
|
||||
});
|
||||
|
||||
set('database_configured', function() {
|
||||
return has('db_name') && strlen(get('db_name')) &&
|
||||
has('db_conf_path') && strlen(get('db_conf_path')) && test("[ -f {{db_conf_path}} ]");
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
namespace Deployer;
|
||||
|
||||
require_once 'inc/database.php';
|
||||
|
||||
desc('create database coniguration file');
|
||||
task('setup:createDbConfig', function () {
|
||||
try {
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user