ensure that values in sub_domaines are prefixed by / for hosting subdomains

This commit is contained in:
Benjamin Sonntag 2015-02-18 18:29:29 +01:00
parent b7c2b7d7fd
commit d82f87a366
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
UPDATE sub_domaines SET valeur=CONCAT('/',valeur), web_action="UPDATE"
WHERE type IN ('vhost', 'php52') AND valeur NOT LIKE '/%';