Fix EOL and EOF in Admin modules

This commit is contained in:
Hypolite Petovan 2019-05-02 00:01:43 -04:00
parent 2a035b9b2f
commit 92b415bc36
19 changed files with 1770 additions and 1760 deletions

View file

@ -39,6 +39,7 @@ class Site extends BaseAdminModule
}
// relocate
// @TODO This file could benefit from moving this feature away in a Module\Admin\Relocate class for example
if (!empty($_POST['relocate']) && !empty($_POST['relocate_url']) && $_POST['relocate_url'] != "") {
$new_url = $_POST['relocate_url'];
$new_url = rtrim($new_url, "/");