Skip to content
Snippets Groups Projects
Commit aaac28a2 authored by ale's avatar ale Committed by agata
Browse files

skip noblogs.org blog when creating the map

parent 906ca7a1
No related branches found
No related tags found
No related merge requests found
......@@ -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 . ';');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment