Optimize "Customer has a referring customer" condition, RT#74452
[freeside.git] / httemplate / misc / process / meta-import.cgi
index 5a97d11..68ae49c 100644 (file)
@@ -1,4 +1,3 @@
-<!-- mason kludge -->
 <% include("/elements/header.html",'Map tables') %>
 
 <SCRIPT>
@@ -182,4 +181,10 @@ function SafeOnsubmit() {
 %  }
 %
 %
+<%init>
 
+#there's no ACL for this...  haven't used in ages
+#make XSS-safe if this is used for more than just admins to import data....
+die 'meta-import not enabled; remove this if you want to use it';
+
+</%init>