diff options
Diffstat (limited to 'actions/admin/site/update_basic.php')
-rw-r--r-- | actions/admin/site/update_basic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index 12d74a535..37c9b9073 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -31,8 +31,8 @@ $site->name = get_input('sitename');
$site->url = get_input('wwwroot');
- datalist_set('path',get_input('path'));
- datalist_set('dataroot',get_input('dataroot')); + datalist_set('path',sanitise_filepath(get_input('path')));
+ datalist_set('dataroot',sanitise_filepath(get_input('dataroot'))); set_config('language', get_input('language'), $site->getGUID()); |