30
1
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:
Jelle Kok 2017-08-24 01:41:34 +02:00
parent e6b607a998
commit 6a78ebbc8c

View File

@ -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');
} }
} }