mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-26 01:57:30 +00:00
Merge pull request #135 from javigomez/fixtravis2
Fix travis when using .httaccess
This commit is contained in:
commit
931f1b0e59
@ -241,8 +241,8 @@ class RoboFile extends \Robo\Tasks
|
||||
// Optionally uses Joomla default htaccess file. Used by TravisCI
|
||||
if ($use_htaccess == true)
|
||||
{
|
||||
$this->_copy('/tests/joomla-cms3/htaccess.txt', 'tests/joomla-cms3/.htaccess');
|
||||
$this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms3/,g" --in-place tests/joomla-cms3/.htaccess');
|
||||
$this->_copy('./tests/joomla-cms3/htaccess.txt', './tests/joomla-cms3/.htaccess');
|
||||
$this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms3/,g" -in-place tests/joomla-cms3/.htaccess');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user