Skip to content

Support Drupal built with Composer. #95

@mglaman

Description

@mglaman

In getApplication() for the Drupal boostrap class it assumes Drupal was not built with Composer.

It needs to be changed to something like

        //load drupals autoload.php, so their classes are available
        if (file_exists('./vendor/autoload.php')) {
            $autoloader = require './vendor/autoload.php';
        } else {
            $autoloader = require '../vendor/autoload.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