Ejemplo n.º 1
0
        public void AddVhost(string DocRoot, string SrvName)
        {
            Symboliclink s = new Symboliclink(DocRoot);

            Vhost newVhost = new Vhost();
            newVhost.DocRoot = "\"" + s.fullPath + "\"".Trim();
            newVhost.SrvName =  SrvName.Trim();

            Vhosts.count++;
            Vhosts.vhosts.Add(newVhost);
        }
Ejemplo n.º 2
0
        public void AddVhost(string DocRoot, string SrvName)
        {
            Symboliclink s = new Symboliclink(DocRoot);

            Vhost newVhost = new Vhost();

            newVhost.DocRoot = "\"" + s.fullPath + "\"".Trim();
            newVhost.SrvName = SrvName.Trim();

            Vhosts.count++;
            Vhosts.vhosts.Add(newVhost);
        }