Skip to content

Commit 4210d6f

Browse files
committed
Added filter to redirect to url
1 parent c9280ec commit 4210d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Redirect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Redirect {
1515

1616
public static function to($url){
1717
Response::clean();
18-
Response::header('Location',$url);
18+
Response::header('Location',Filter::with('core.redirect',$url));
1919
Response::send();
2020
exit;
2121
}

0 commit comments

Comments
 (0)