/[drupal]/contributions/modules/provision/web_server/disable.provision.inc
ViewVC logotype

Contents of /contributions/modules/provision/web_server/disable.provision.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Mon Sep 7 14:11:42 2009 UTC (2 months, 3 weeks ago) by anarcat
Branch: MAIN
CVS Tags: DRUPAL-6--0-4-ALPHA1, DRUPAL-6--0-4-ALPHA3, DRUPAL-6--0-4-ALPHA2, HEAD
Changes since 1.3: +1 -1 lines
File MIME type: text/x-php
#535098 - enable domain redirection in the backend
1 <?php
2
3 /**
4 * Implementation of hook_provision_disable
5 */
6 function drush_provision_apache_provision_disable($url = NULL) {
7 drush_set_option('redirect_url', drush_get_option('web_disable_url'));
8 _provision_apache_create_vhost_config($url, _provision_apache_disabled_template());
9 _provision_apache_restart_apache();
10 }
11

  ViewVC Help
Powered by ViewVC 1.1.2