Skip to content

Fix documented settings.php include path #19

@jcandan

Description

@jcandan

Problem

The relative include path is wrong.

README currently states:

Add Playwright to Drupal's Settings

Add the following line to web/sites/default/settings.php:

include '../test/playwright/node_modules/@lullabot/playwright-drupal/settings/settings.playwright.php';

The include '../test/playwright/...'; — from web/sites/default/settings.php, lands you at web/sites/, so it’s wrong.

Proposed resolution

Update instruction to use $app_root to build an absolute path:

include $app_root . '/../test/playwright/node_modules/@lullabot/playwright-drupal/settings/settings.playwright.php';

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