Skip to content

Params passed in pub/index.php being overwritten #472

@wbyrnetx

Description

@wbyrnetx

It seems like the params (specifically the \Magento\Filesystem::PARAM_APP_DIRS ones) are being overridden when
$directoryListConfig->configure($directories);
is called in lib/Magento/App/ObjectManagerFactory.php [line 148]

Magento\Filesystem\DirectoryList\Configuration pulls directory info from app/code/Magento/Core/etc/config.xml and overrides any params I have set in index.php, should it not be the other way around? Or do params defined in index.php not take precedence over config?

i.e. $params[\Magento\Filesystem::PARAM_APP_DIRS][\Magento\Filesystem::PUB] = array('uri' => '');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions