ispman/bin ispman.getVhostAttribute,NONE,1.1

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

Added Files:
	ispman.getVhostAttribute 
Log Message:
Adding script to get Vhost Attributes.
Adding function to the library.

At the moment, these scripts are for developers/experts(those who dont develop but follow the cvs commits and developer's list closely) only

There will be a ispman.setVhostAttribute script which will serve experts to add/modify certain attributes from the records



--- NEW FILE: ispman.getVhostAttribute ---
#!/usr/bin/perl
# For expert use only
BEGIN{
   use FindBin; unshift @INC, ($FindBin::Bin , "$FindBin::Bin/../lib", "$FindBin::Bin/../conf");
   unless ($ARGV[2]){
      print "For expert use only\n";
print "$0  domain vhost attributename\n";
      exit;
   }
}


use ISPMan;

my $ispman=ISPMan->new();
print $ispman->getVhostAttribute(@ARGV);
print "\n";





-------------------------------------------------------
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.