git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@820
7612ce4b-ef26-0410-bec9-
ea0150e637f0
############################################################
$conf_pl_version = "x62";
############################################################
$conf_pl_version = "x62";
+############################################################
+# Some people try to run this as a CGI. That's wrong!
+############################################################
+if(defined($ENV{'PATH_INFO'}) || defined($ENV{'QUERY_STRING'}) ||
+ defined($ENV{'REQUEST_METHOD'})) {
+ print "Content-Type: text/html\n\n";
+ print "You must run this script from the command line.";
+ exit;
+}
+
############################################################
# First, lets read in the data already in there...
############################################################
############################################################
# First, lets read in the data already in there...
############################################################