simple-php-git-deploy
simple-php-git-deploy copied to clipboard
Two branches on same machine get messy
Now
- User has 2 versions of a rep (master and beta)
- Updates at the same time
- Things get messy, since both updates use same folder
config.php → define('TMP_DIR', '/tmp/spgd-'.md5(REMOTE_REPOSITORY).'/');
Should be
config.php → define('TMP_DIR', '/tmp/spgd-'.md5(REMOTE_REPOSITORY+BRANCH).'/');