Pb avec les redir web installé par default
Eclaircissement sur comment doit être noté une redir web
This commit is contained in:
parent
70b74ee19f
commit
1be16853e7
|
@ -87,7 +87,7 @@ $dom->unlock();
|
|||
</script><?php
|
||||
break;
|
||||
case "URL": ?>
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe($targval); ?>" size="50" />
|
||||
<input type="text" class="int" name="t_<?php echo $dt['name']?>" id="t_<?php echo $dt['name']?>" value="<?php ehe( (empty($targval)?'http://':$targval) ); ?>" size="50" />
|
||||
<small><?php __("(enter an URL here)"); ?></small><?php
|
||||
break;;
|
||||
case 'IP':?>
|
||||
|
|
|
@ -692,9 +692,9 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
|
|||
INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
||||
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
||||
('mail', 'WEBMAIL', '', 'MAIN'),
|
||||
('', 'URL', 'www.%%DOMAIN%%', 'MAIN'),
|
||||
('www', 'URL', 'www.%%TARGETDOM%%', 'SLAVE'),
|
||||
('mail', 'URL', 'mail.%%TARGETDOM%%', 'SLAVE'),
|
||||
('', 'URL', '%%TARGETDOM%%', 'SLAVE');
|
||||
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
||||
('www', 'URL', 'http://www.%%TARGETDOM%%', 'SLAVE'),
|
||||
('mail', 'URL', 'http://mail.%%TARGETDOM%%', 'SLAVE'),
|
||||
('', 'URL', 'http://%%TARGETDOM%%', 'SLAVE');
|
||||
|
||||
|
||||
|
|
|
@ -212,12 +212,12 @@ CREATE TABLE IF NOT EXISTS `default_subdomains` (
|
|||
) COMMENT='Contains the defaults subdomains created on domains creation';
|
||||
|
||||
INSERT INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_parameter`, `concerned`) VALUES
|
||||
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
||||
('mail', 'WEBMAIL', '', 'MAIN'),
|
||||
('', 'URL', 'www.%%DOMAIN%%', 'MAIN'),
|
||||
('www', 'URL', 'www.%%TARGETDOM%%', 'SLAVE'),
|
||||
('mail', 'URL', 'mail.%%TARGETDOM%%', 'SLAVE'),
|
||||
('', 'URL', '%%TARGETDOM%%', 'SLAVE');
|
||||
('www', 'VHOST', '%%DOMAINDIR%%', 'MAIN'),
|
||||
('mail', 'WEBMAIL', '', 'MAIN'),
|
||||
('', 'URL', 'http://www.%%DOMAIN%%', 'MAIN'),
|
||||
('www', 'URL', 'http://www.%%TARGETDOM%%', 'SLAVE'),
|
||||
('mail', 'URL', 'http://mail.%%TARGETDOM%%', 'SLAVE'),
|
||||
('', 'URL', 'http://%%TARGETDOM%%', 'SLAVE');
|
||||
|
||||
|
||||
-- -------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue