Commit 7368f6ec authored by ale's avatar ale

Get local backend name from config

parent 42edf4ab
Pipeline #3700 passed with stages
in 56 seconds
......@@ -76,8 +76,8 @@ function noblogs_get_backend_map() {
// Return the backend ID for the local host.
function noblogs_get_local_backend_id() {
$id = trim(file_get_contents("/etc/ai/public_id"));
return "backend_{$id}";
global $noblogs_config;
return $noblogs_config['local_backend_name'];
}
// Return a list of blogs that are local to this server.
......
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