git-deploy-php icon indicating copy to clipboard operation
git-deploy-php copied to clipboard

Log file

Open teanocrata opened this issue 8 years ago • 0 comments

Hi Bruno,

In Config.php, when you check if log option is set, you assign to WRITE_TO_LOG constant the value of revert option in case it's set, Is it correct?

if (isset($opts['log'])) {
   define('WRITE_TO_LOG', $opts['revert'] ? $opts['revert'] : 'git_deploy_php_log.txt');
}

Maybe It would be something like:

if (isset($opts['log'])) {
   define('WRITE_TO_LOG', $opts['log'] ? $opts['log'] : 'git_deploy_php_log.txt');
}

teanocrata avatar Aug 26 '16 07:08 teanocrata