mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-06-10 10:12:27 +00:00
fix copy .htaccess
This commit is contained in:
parent
e6b607a998
commit
6a78ebbc8c
|
@ -216,7 +216,7 @@ class RoboFile extends \Robo\Tasks
|
||||||
if ($useHtaccess == true)
|
if ($useHtaccess == true)
|
||||||
{
|
{
|
||||||
$this->say('Renaming htaccess.txt to .htaccess');
|
$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');
|
$this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms,g" -in-place tests/joomla/.htaccess');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user