Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Problem using __DIR__ in configuration #15

@fabio-paiva-sp

Description

@fabio-paiva-sp

The problem is here
https://github.com/zfcampus/zf-configuration/blob/master/src/ConfigResource.php#L83

$localConfig = include $this->fileName;

The DIR magic constant is parsed into the complete path ("C:\Users...")

When the file is saved, the DIR is replaced with my local path

I believe this cause this error too: zfcampus/zf-deploy#45

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