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

It is only the last entry in the multi-domain function transmitted #2

Open
Core2k88 opened this issue Mar 25, 2016 · 1 comment
Open

Comments

@Core2k88
Copy link

Hello Martin,

i try to use your script, but it only the single-domain function. The multi-domain function is not working. That script transmits only the last entry.

I have only one domain, but there multiple subdomains.

For example:

define('DOMAINS', serialize(array("example.com" => "home", "example.com" => "admin")));

Submitted but then only the entry admin.

Another example:

define('DOMAINS', serialize(array("example.com" => "admin", "example.com" => "whatever", "example.com" => "test2", "example.com" => "test", "example.com" => "home")));

Submitted but then only the entry home.

Do you have any idea where is the problem?

@Core2k88 Core2k88 changed the title Es wird nur der letzte eintrag bei der Multidomain funktion übermittelt It is only the last entry in the multi-domain function transmitted Mar 25, 2016
@martinlowinski
Copy link
Owner

martinlowinski commented Jan 8, 2017

Hi @Core2k88, I might have found the problem to your issue. Could you checkout commit 4029ef7 and try to reproduce it? I had to tweak the configuration syntax a little, so in your case it would look like this:

define('DOMAINS', serialize(array("example.com" => array("home", "admin"))));

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

2 participants