fix copy .htaccess
This commit is contained in:
parent
e6b607a998
commit
6a78ebbc8c
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue