Commit 78669e2e authored by Adrian Rossouw's avatar Adrian Rossouw
Browse files

remove server command

parent 3036e41c
<?php
/**
* Drupal-based server configuration
*/
function drush_provision_drupal_provision_server() {
if (!provision_path('exists', drush_get_option('config_path') . '/includes/global.inc', TRUE, dt("Global configuration file exists"))) {
# create an empty global.inc so the include doesn't fail with
# open_basedir restrictions
if (!$file = fopen(drush_get_option('config_path') . '/includes/global.inc', 'a')) {
drush_set_error('PROVISION_FRAMEWORK_ERROR', dt('Cannot create global settings configuration'));
} else {
fwrite($file, "<?php # global settings.php");
fclose($file);
}
}
_provision_create_dir(drush_get_option('backup_path'), dt('Backup'), 0700);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment