Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db-connect check if CSV #295

Open
macagoraga opened this issue Jan 3, 2014 · 0 comments
Open

db-connect check if CSV #295

macagoraga opened this issue Jan 3, 2014 · 0 comments

Comments

@macagoraga
Copy link

// skip database connection if we don't have a db_name and db_hosts
if ($db_name && is_array($db_hosts)) {

// in case db_hosts was specified as csv
if (!is_array($db_hosts)) {    // THIS SHOULD BE BEFORE if ($db_name && is_array($db_hosts))
    $db_hosts = explode(',', $db_hosts);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant