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

skip noblogs.org blog when creating the map

parent 63764920
Branches
Tags
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.
Please register or to comment