ispman/lib delete_vhost_directories.lib,1.1,1.2

[email protected]
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24995/lib

Modified Files:
	delete_vhost_directories.lib 
Log Message:
removed *very* dangerous deletes

someone who sets cgidir to /usr/lib/cgi will wipe out all his global CGIs :-(


Index: delete_vhost_directories.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/delete_vhost_directories.lib,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- delete_vhost_directories.lib	31 Jul 2001 16:00:12 -0000	1.1
+++ delete_vhost_directories.lib	1 Feb 2004 15:04:52 -0000	1.2
@@ -1,10 +1,9 @@
 sub delete_vhost_directories_handler{
-	my ($vhost, $home_directory, $htdocs_dir, $cgibin_dir)=@_;
-		my $command="rm -rf $htdocs_dir  $cgibin_dir	$home_directory/vhosts/$vhost";
-		print "Running $command\n";
-		system ($command);
-
-
+    my ($vhost, $home_directory, $htdocs_dir, $cgibin_dir)=@_;
+    my $command="rm -rf $home_directory/vhosts/$vhost";
+    print "Running $command\n";
+    system ($command);
+    
 }
 
 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.