Commit fe43c31f authored by ale's avatar ale Committed by lechuck

skip noblogs.org blog when creating the map

parent 092c19cc
......@@ -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 . ';');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment