X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref-process.html;h=a340b7fc94b4df6639f9a8b5fe32b5f056469fa3;hb=79f809fedf5fc96da31039122c8326d31b6662b6;hp=47f80afd049b40d160aae8402f7149c9905ecab0;hpb=b7c314a198c60a6f9236950994113aa422aa77ff;p=freeside.git diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 47f80afd0..a340b7fc9 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -7,6 +7,11 @@ % } <%init> +if ( FS::Conf->new->exists('disable_acl_changes') ) { + errorpage("Preference changes disabled in public demo"); + die "shouldn't be reached"; +} + my $error = ''; my $access_user = '';