Skip to content

Fixed the definition of two constants so that Donut can be checked out outside the Q2A folder #111

@bertrandgorge

Description

@bertrandgorge

In case you pull Donut in a separate directory, then build a symbolic link of the plugin and the theme into q2a, two defines would break the code because they would refer to the original checkout dir and not q2a. By using Q2A already defined constants we can work around this issue:

    @define( 'DONUT_THEME_BASE_DIR', dirname( __FILE__ ) );
    @define( 'DONUT_THEME_BASE_DIR', QA_BASE_DIR . 'qa-theme/Donut-theme');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions