fix copy .htaccess

This commit is contained in:
Jelle Kok 2017-08-24 01:41:34 +02:00
parent e6b607a998
commit 6a78ebbc8c
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ class RoboFile extends \Robo\Tasks
if ($useHtaccess == true)
{
$this->say('Renaming htaccess.txt to .htaccess');
$this->_copy('./htaccess.txt', $this->cmsPath . '/.htaccess');
$this->_copy($this->cmsPath . '/htaccess.txt', $this->cmsPath . '/.htaccess');
$this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms,g" -in-place tests/joomla/.htaccess');
}
}