Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
noblogs-wp
Commits
1ec686a6
Commit
1ec686a6
authored
Nov 15, 2011
by
ale
Committed by
agata
Jul 01, 2020
Browse files
skip noblogs.org blog when creating the map
parent
6ce95769
Changes
1
Show whitespace changes
Inline
Side-by-side
wp-nginx-map.php
View file @
1ec686a6
...
...
@@ -42,6 +42,8 @@ function generate_map() {
printline
(
' default http://'
.
NOBLOGS_MASTER
.
':82;'
);
foreach
(
$blogs
as
$blog
)
{
$blog_id
=
$blog
->
blog_id
;
if
(
$blog_id
==
1
)
continue
;
$backend_id
=
$wpdb_hash
->
lookup
(
$blog_id
);
$backend_http
=
backend_to_http_endpoint
(
$backend_id
);
printline
(
' '
.
$blog
->
domain
.
' http://'
.
$backend_http
.
';'
);
...
...
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