635 |
+INSERT INTO ${db}.settings VALUES ('cn_full_name','cn') ON DUPLICATE KEY UPDATE name='cn_full_name'; |
+INSERT INTO ${db}.settings VALUES ('cn_full_name','cn') ON DUPLICATE KEY UPDATE name='cn_full_name'; |
636 |
+INSERT INTO ${db}.settings VALUES ('cn_email','mail') ON DUPLICATE KEY UPDATE name='cn_email'; |
+INSERT INTO ${db}.settings VALUES ('cn_email','mail') ON DUPLICATE KEY UPDATE name='cn_email'; |
637 |
|
|
638 |
+UPDATE ${db}.settings SET value='3' WHERE name='user_template' and value='0'; |
+INSERT INTO ${db}.settings VALUES ('user_template','3') ON DUPLICATE KEY UPDATE name='user_template'; |
639 |
|
|
640 |
# set password of admin |
# set password of admin |
641 |
UPDATE ${db}.user_auth SET email_address='admin@${domain}', must_change_password='',password=md5('$adminpass'), enabled='on' WHERE username='admin' and id='1'; |
UPDATE ${db}.user_auth SET email_address='admin@${domain}', must_change_password='',password=md5('$adminpass'), enabled='on' WHERE username='admin' and id='1'; |