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

Use getRootDir() rather than assuming __DIR__ #757

Merged
merged 1 commit into from
Feb 16, 2015

Conversation

thewilkybarkid
Copy link
Contributor

In the event that getRootDir() in AppKernel is overridden (eg the file is moved elsewhere but the config etc stays put), the registerContainerConfiguration would also have to be changed.

@hacfi
Copy link

hacfi commented Dec 14, 2014

Makes sense I guess 👍

@ghost
Copy link

ghost commented Feb 14, 2015

what's the holdup on this one? any reason not to have it?

@fabpot
Copy link
Member

fabpot commented Feb 16, 2015

Thank you @thewilkybarkid.

@fabpot fabpot merged commit 36ab0c1 into symfony:2.3 Feb 16, 2015
fabpot added a commit that referenced this pull request Feb 16, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Use getRootDir() rather than assuming __DIR__

In the event that `getRootDir()` in `AppKernel` is overridden (eg the file is moved elsewhere but the config etc stays put), the `registerContainerConfiguration` would also have to be changed.

Commits
-------

36ab0c1 Use getRootDir() rather than assuming __DIR__
@thewilkybarkid thewilkybarkid deleted the root-dir branch February 16, 2015 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants