From 1be16853e7420d020fee6c41afc53e28f98adad6 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Wed, 17 Oct 2012 12:15:34 +0000 Subject: [PATCH] =?UTF-8?q?Pb=20avec=20les=20redir=20web=20install=C3=A9?= =?UTF-8?q?=20par=20default=20Eclaircissement=20sur=20comment=20doit=20?= =?UTF-8?q?=C3=AAtre=20not=C3=A9=20une=20redir=20web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bureau/admin/dom_edit.inc.php | 2 +- install/mysql.sql | 8 ++++---- install/upgrades/1.1.sql | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bureau/admin/dom_edit.inc.php b/bureau/admin/dom_edit.inc.php index 92e1013b..60cb0e73 100644 --- a/bureau/admin/dom_edit.inc.php +++ b/bureau/admin/dom_edit.inc.php @@ -87,7 +87,7 @@ $dom->unlock(); - + diff --git a/install/mysql.sql b/install/mysql.sql index 76ed101b..c8bb0b47 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -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'); diff --git a/install/upgrades/1.1.sql b/install/upgrades/1.1.sql index b284ae0c..c58890d0 100644 --- a/install/upgrades/1.1.sql +++ b/install/upgrades/1.1.sql @@ -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'); -- -------------------------------------------------