mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-06 13:16:54 +02:00
Site Url without trailing slashes
This commit is contained in:
@@ -121,9 +121,6 @@ class SystemAdmin extends Backend
|
||||
|
||||
// Add trailing slashes
|
||||
$_site_url = Request::post('system_url');
|
||||
if ($_site_url[strlen($_site_url)-1] !== '/') {
|
||||
$_site_url = $_site_url.'/';
|
||||
}
|
||||
|
||||
Option::update(array('sitename' => Request::post('site_name'),
|
||||
'keywords' => Request::post('site_keywords'),
|
||||
|
Reference in New Issue
Block a user