Fixed variable name
This commit is contained in:
parent
f707f6084e
commit
0dc3d30f4c
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Redirect
|
|||
/**
|
||||
* @param string $destination URL to redirect to
|
||||
*/
|
||||
public function __construct($url, $permanent = true)
|
||||
public function __construct($destination, $permanent = true)
|
||||
{
|
||||
if (strpos($destination, '://') === false) {
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue