Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
provision
Commits
4f11e692
Commit
4f11e692
authored
Jun 04, 2014
by
ergonlogic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2191327
: Replace hook_drush_load() with --exclude.
parent
14760417
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
dns/dns.drush.load.inc
dns/dns.drush.load.inc
+1
-1
example/site_data/site_data.drush.load.inc
example/site_data/site_data.drush.load.inc
+1
-1
http/Provision/Config/Apache/vhost.tpl.php
http/Provision/Config/Apache/vhost.tpl.php
+1
-1
http/Provision/Config/Nginx/vhost.tpl.php
http/Provision/Config/Nginx/vhost.tpl.php
+1
-1
http/Provision/Service/http/apache.php
http/Provision/Service/http/apache.php
+1
-1
http/Provision/Service/http/nginx.php
http/Provision/Service/http/nginx.php
+1
-1
provision.api.php
provision.api.php
+1
-1
subdirs/subdirs.drush.load.inc
subdirs/subdirs.drush.load.inc
+1
-1
No files found.
dns/dns.drush.load.inc
View file @
4f11e692
<?php
/**
* Implements hook_drush_load().
* Implements hook_drush_load().
Deprecated. Removed in Drush 7.x.
*
* Checks if the corresponsing Hosting Feature is installed and enabled.
*/
...
...
example/site_data/site_data.drush.load.inc
View file @
4f11e692
<?php
/**
* Implements hook_drush_load().
* Implements hook_drush_load().
Deprecated. Removed in Drush 7.x.
*
* Checks if the corresponsing Hosting Feature is enabled.
*/
...
...
http/Provision/Config/Apache/vhost.tpl.php
View file @
4f11e692
...
...
@@ -86,7 +86,7 @@ if ($this->redirection || $ssl_redirection) {
<?php
$if_subsite
=
$this
->
data
[
'http_subdird_path'
]
.
'/'
.
$this
->
uri
;
if
(
subdirs_drush_load
(
)
&&
provision_file
()
->
exists
(
$if_subsite
)
->
status
())
{
if
(
hosting_feature_enabled
(
'subdirs'
)
&&
provision_file
()
->
exists
(
$if_subsite
)
->
status
())
{
print
" Include "
.
$if_subsite
.
"/*.conf
\n
"
;
}
?>
...
...
http/Provision/Config/Nginx/vhost.tpl.php
View file @
4f11e692
...
...
@@ -68,7 +68,7 @@ else {
print
" include "
.
$server
->
include_path
.
"/nginx_vhost_common.conf;
\n
"
;
}
$if_subsite
=
$this
->
data
[
'http_subdird_path'
]
.
'/'
.
$this
->
uri
;
if
(
subdirs_drush_load
(
)
&&
provision_file
()
->
exists
(
$if_subsite
)
->
status
())
{
if
(
hosting_feature_enabled
(
'subdirs'
)
&&
provision_file
()
->
exists
(
$if_subsite
)
->
status
())
{
print
" include "
.
$if_subsite
.
"/*.conf;
\n
"
;
}
?>
...
...
http/Provision/Service/http/apache.php
View file @
4f11e692
...
...
@@ -17,7 +17,7 @@ class Provision_Service_http_apache extends Provision_Service_http_public {
$this
->
configs
[
'server'
][]
=
'Provision_Config_Apache_Server'
;
$this
->
configs
[
'platform'
][]
=
'Provision_Config_Apache_Platform'
;
$this
->
configs
[
'site'
][]
=
'Provision_Config_Apache_Site'
;
if
(
subdirs_drush_load
(
))
{
if
(
hosting_feature_enabled
(
'subdirs'
))
{
$this
->
configs
[
'site'
][]
=
'Provision_Config_Apache_Subdir'
;
$this
->
configs
[
'site'
][]
=
'Provision_Config_Apache_SubdirVhost'
;
}
...
...
http/Provision/Service/http/nginx.php
View file @
4f11e692
...
...
@@ -22,7 +22,7 @@ class Provision_Service_http_nginx extends Provision_Service_http_public {
$this
->
server
->
setProperty
(
'nginx_has_gzip'
,
FALSE
);
$this
->
server
->
setProperty
(
'provision_db_cloaking'
,
TRUE
);
$this
->
server
->
setProperty
(
'phpfpm_mode'
,
'port'
);
if
(
subdirs_drush_load
(
))
{
if
(
hosting_feature_enabled
(
'subdirs'
))
{
$this
->
configs
[
'site'
][]
=
'Provision_Config_Nginx_Subdir'
;
$this
->
configs
[
'site'
][]
=
'Provision_Config_Nginx_SubdirVhost'
;
}
...
...
provision.api.php
View file @
4f11e692
...
...
@@ -9,7 +9,7 @@
/**
* Implements hook_drush_load().
* Implements hook_drush_load().
Deprecated. Removed in Drush 7.x.
*
* In a drush contrib check if the frontend part (hosting_hook variant) is enabled.
*/
...
...
subdirs/subdirs.drush.load.inc
View file @
4f11e692
<?php
/**
* Implements hook_drush_load().
* Implements hook_drush_load().
Deprecated. Removed in Drush 7.x.
*
* Checks if the corresponsing Hosting Feature is installed and enabled.
*/
...
...
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