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

Duplicate extension key prefix in the global configuration #1604

Closed
aiddroid opened this issue Nov 15, 2017 · 1 comment
Closed

Duplicate extension key prefix in the global configuration #1604

aiddroid opened this issue Nov 15, 2017 · 1 comment
Assignees
Labels

Comments

@aiddroid
Copy link

aiddroid commented Nov 15, 2017

Here is the config.json

{
    "namespace": "utils",
    "name": "utils",
    "description": "An utils helper extension",
    "author": "aiddroid",
    "version": "0.0.1",
    "verbose": false,
    "requires": {
        "extensions": []
    },
    "globals": {
        "utils.enable_cache": {
            "type": "bool",
            "default": true
        }
    }
}

but got "utils.utils.enable_cache" in phpinfo().
phpinfo

and after I removed the "utils" prefix from globals section in config.json, The key became "enable_cache" in phpinfo().It's very strange.
image

@sergeyklay sergeyklay added the bug label Nov 15, 2017
@sergeyklay sergeyklay self-assigned this Nov 15, 2017
@sergeyklay sergeyklay assigned AlexNDRmac and unassigned sergeyklay May 7, 2018
@sergeyklay sergeyklay changed the title Dumplicate Extension Globals key prefix Duplicate extension key prefix in the global configuration Jun 5, 2018
@AlexNDRmac AlexNDRmac mentioned this issue Feb 17, 2019
@sergeyklay
Copy link
Contributor

Fixed in the development branch. Thank you for contributing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants