aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-20 11:29:08 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-20 11:29:08 +0000
commita679750e03de9abaed8a323533b896d8a1f10d2b (patch)
tree34476c7ce2430de3a1c5ca3c5e84b25ad70db8cd /actions/admin
parent5dfdf35745318385c0ddcb4018eb65f17da24f47 (diff)
downloadelgg-a679750e03de9abaed8a323533b896d8a1f10d2b.tar.gz
elgg-a679750e03de9abaed8a323533b896d8a1f10d2b.tar.bz2
Refs #273: Extra sanity checking on install
git-svn-id: https://code.elgg.org/elgg/trunk@2025 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_basic.php4
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());