5 lines
253 B
CFEngine3
5 lines
253 B
CFEngine3
hosts = ${host}
|
|
dbname = ${name}
|
|
user = ${user}
|
|
password = ${password}
|
|
query = SELECT redirect FROM users LEFT JOIN domains ON users.domain_id = domains.id WHERE redirect IS NOT NULL AND domains.name = '%d' AND (users.name = '%u' OR users.name IS null)
|