Пример #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);
        }
Пример #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);
        }