Skip to content
Snippets Groups Projects
Select Git revision
  • 624963eadecd21515b04c0e9e6dc5ff5c274c676
  • master default protected
  • lintian-fixes
  • renovate/github.com-miekg-dns-1.x
  • renovate/golang.org-x-crypto-digest
5 results

scan_rr.go

Blame
  • Forked from ai3 / tools / acmeserver
    Source project has a limited visibility.
    db-config.php 619 B
    <?php
    
    // Common settings
    $wpdb->persistent = true;
    $wpdb->max_connections = 30;
    
    define("NOBLOGS_BACKEND_CONFIG", "/etc/noblogs/backends");
    
    include_once('r2db/db-hash.php');
    include_once('r2db/db-backends.php');
    
    // Add the global database (configured in wp-config.php), stores the global
    // blogs and users tables.
    $wpdb->add_database(array(
        "host" => DB_HOST,
        "user" => DB_USER,
        "password" => DB_PASSWORD,
        "name" => DB_NAME,
        "dataset" => "global",
        "write" => 1, "read" => 1, "timeout" => 2
        ));
    
    $wpdb_reverse_backend_map = noblogs_load_backends(NOBLOGS_BACKEND_CONFIG, $wpdb->hash_map);