"/mom", "bal_" => "/bal", "art_" => "/art", "arb_" => "/arb", "oce_" => "/oce", "bss_" => "/bss", "sau_" => "/sau", "ged_" => "/ged", "lit_" => "/lit", "ecs_" => "/ecs" ); # domenai, i kuriuos kreipiantis bus daromas nukreipimas $valid_domains = array ( "corpi.ku.lt", "balticlagoons.net", "bpatpi.ku.lt", ); $domain_in_list = FALSE; $req_domain = $_SERVER['HTTP_HOST']; $req_string = $_SERVER['REQUEST_URI']; if ( strtolower( substr($req_domain, 0, 4) ) == 'www.' ) { $req_domain = substr($req_domain, 4); } if (in_array ($req_domain, $valid_domains)) { $req_prefix = strtolower( substr($req_string, 0, 4)); if ($req_domain == "balticlagoons.net") { if ($req_prefix == "/lit") { $table_prefix = "lit_"; $domain_in_list = TRUE; } elseif ($req_prefix == "/art") { $table_prefix = "art_"; $domain_in_list = TRUE; } else { $table_prefix = "bal_"; $domain_in_list = TRUE; } } elseif ($req_domain == "bpatpi.ku.lt") { $table_prefix = "bgb_"; $domain_in_list = TRUE; } else { if (in_array($req_prefix, $valid_dirs)) { $table_prefix = implode("",array_keys($valid_dirs, $req_prefix)); $domain_in_list = TRUE; } } } # echo "D: $domain_in_list - req_string: $req_string req_domain - $req_domain TP: $table_prefix "; if (!$domain_in_list) { if (!$redirector_allow) { die(); } else { $table_prefix = "bgb_"; } } /* if ($req_domain == "balticlagoons.net") { if ($req_prefix == "/lit") { $table_prefix = "lit_"; $domain_in_list = TRUE; } elseif ($req_prefix != "/art") { $table_prefix = "bal_"; $domain_in_list = TRUE; } */ ?> WordPress › Installation

Configuration Error

Your wp-config.php file has an empty database table prefix, which is not supported.