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
bcfda276
Commit
bcfda276
authored
Feb 04, 2010
by
anarcat
Committed by
anarcat
Feb 04, 2010
Browse files
comments and whitespace again
parent
276d2d61
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/verify.provision.inc
View file @
bcfda276
...
...
@@ -70,13 +70,23 @@ function drush_provision_drupal_post_provision_verify($url = NULL) {
}
/**
* Inject the relevant .htacces configuration into the global apache configuration
* Inject the relevant .htacces configuration into the global apache
* configuration
*
* This basically loads the regular .htacess but adds an AllowOverride
* none so the .htaccess are ignored, as a performance improvement.
*
* @see platform/provision_drupal_htaccess.tpl.php
* @see hook_provision_apache_dir_config()
*/
function
provision_drupal_provision_apache_dir_config
(
$data
=
null
)
{
$htaccess
=
file_get_contents
(
dirname
(
__FILE__
)
.
"/provision_drupal_htaccess.tpl.php"
);
$htaccess
.
=
<<<EOF
# Do not read the platform's .htaccess
AllowOverride none
EOF;
# the trailing newline above is necessary
return
$htaccess
;
}
Write
Preview
Supports
Markdown
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