Commit 0e9cbce6 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

fix function calls

parent 2841de35
......@@ -23,7 +23,7 @@ function provision_drupal_provision_service() {
* Implentation of hook_provision_configure()
*/
function provision_drupal_provision_configure() {
$template = _provision_default_template();
$template = _provision_drupal_default_template();
$profiles = file_scan_directory('./profiles', '\.profile$', array('.', '..', 'CVS'), 0, TRUE, 'name', 0);
// Don't need to choose profile if only one available.
if (sizeof($profiles) == 1) {
......@@ -105,7 +105,7 @@ END;
*/
function _provision_drupal_create_settings_file($url, &$data) {
$fp = fopen("sites/$url/settings.php", "w");
$text = variable_get('provision_settings_template', _provision_default_template());
$text = variable_get('provision_settings_template', _provision_drupal_default_template());
fwrite($fp, token_replace($text, 'site', $data));
fclose($fp);
......
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