Skip to content

Broken Kernel Dir after relative paths #10943

@ivan1986

Description

@ivan1986

in commit 735e9a4 add use filesystem

wrong way to generate parent dir - not use '../' to up parent, use dirname
current is broken Sensio - generate:bundle - it create bundle in app/cache/dev/../src

old value is
'kernel.root_dir' => '/home/ivan/projects/qs/app',
new
'kernel.root_dir' => __DIR__.'/../..',
need
'kernel.root_dir' => dirname(dirname(__DIR__)),

or some other solution

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