Skip to content

ROOT_DIR constant is incorrect in wp-config.php #4

@MeMattStone

Description

@MeMattStone

Describe the bug
The current template for wp-config.php contains define( 'ROOT_DIR', realpath( __DIR__ . '/.' ) ); on line 7, however this points to the public directory and then causes vendor autoload errors.

Expected behavior
The line should be define( 'ROOT_DIR', dirname( __DIR__ ) );

Environment

  • OS: macOS
  • Terminal/Shell: iTerm2 with Spaceship

Nucleus CLI version:
1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions