Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
599c1c05
Commit
599c1c05
authored
Jan 18, 2010
by
Adrian Rossouw
Browse files
Support changing the install profile by specifying the profile option during migrate commands
parent
9a2b3447
Changes
2
Show whitespace changes
Inline
Side-by-side
platform/migrate.provision.inc
View file @
599c1c05
...
...
@@ -59,7 +59,7 @@ function drush_provision_drupal_pre_provision_migrate_rollback($url, $platform)
function
drush_provision_drupal_provision_migrate
(
$url
,
$platform
)
{
drush_backend_invoke
(
'provision-deploy'
,
array
(
$url
,
drush_get_option
(
'backup_file'
),
'root'
=>
$platform
,
'web_host'
=>
drush_get_option
(
'web_host'
),
'web_ip'
=>
drush_get_option
(
'web_ip'
),
'db_host'
=>
drush_get_option
(
'db_host'
)));
'db_host'
=>
drush_get_option
(
'db_host'
)
,
'profile'
=>
drush_get_option
(
'profile'
)
));
}
...
...
platform/provision_drupal_settings.tpl.php
View file @
599c1c05
...
...
@@ -13,6 +13,7 @@
'%db_host' => '
$_SERVER[db_host]
',
'%db_name' => '
$_SERVER[db_name]
')); ?>"
;
$profile
=
"<?php print
$profile
?>"
;
/**
* PHP settings:
...
...
@@ -43,6 +44,7 @@
global
$conf
;
$conf
[
'install_profile'
]
=
'<?php print $profile ?>'
;
$conf
[
'file_directory_path'
]
=
'sites/<?php print $site_url ?>/files'
;
$conf
[
'file_directory_temp'
]
=
'sites/<?php print $site_url ?>/files/tmp'
;
$conf
[
'file_downloads'
]
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment