[freeside-commits] freeside/httemplate/pref pref-process.html, 1.15, 1.16
Ivan,,,
ivan at wavetail.420.am
Sat Jun 5 23:05:14 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/pref
In directory wavetail.420.am:/tmp/cvs-serv7773/pref
Modified Files:
pref-process.html
Log Message:
better disable_acl_changes
Index: pref-process.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/pref/pref-process.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- pref-process.html 24 May 2010 23:54:58 -0000 1.15
+++ pref-process.html 6 Jun 2010 06:05:12 -0000 1.16
@@ -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 = '';
More information about the freeside-commits
mailing list