CVS: ispman/lib create_vhost_directories.lib,1.8,1.9

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

Modified Files:
	create_vhost_directories.lib 
Log Message:
minor changes so the same lib file works with 1.0 without the log_dir and stat_dir

Index: create_vhost_directories.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/create_vhost_directories.lib,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** create_vhost_directories.lib	7 Oct 2003 15:33:20 -0000	1.8
--- create_vhost_directories.lib	7 Oct 2003 15:36:48 -0000	1.9
***************
*** 8,13 ****
  	push @directories, "$home_directory/vhosts/$script_dir", unless ($script_dir =~ /^\//);
  	push @directories, "$home_directory/vhosts/$vhost/logs";
!         push @directories, "$home_directory/vhosts/$log_dir", unless ($log_dir =~ /^\//);
!         push @directories, "$home_directory/vhosts/$stat_dir", unless ($stat_dir =~ /^\//);
  
  
--- 8,13 ----
  	push @directories, "$home_directory/vhosts/$script_dir", unless ($script_dir =~ /^\//);
  	push @directories, "$home_directory/vhosts/$vhost/logs";
!         push @directories, "$home_directory/vhosts/$log_dir",  if ($log_dir && $log_dir !~ /^\//);
!         push @directories, "$home_directory/vhosts/$stat_dir", if ($stat_dir && stat_dir !~ /^\//);
  
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.