johnpbloch / wordpress

A fork of WordPress with Composer support added. Branches, tags, and trunk synced from upstream every 15 minutes.
https://packagist.org/packages/johnpbloch/wordpress
602 stars 102 forks source link

Path for autoload.php #36

Closed Johnsontylk closed 5 years ago

Johnsontylk commented 5 years ago

Hi,

I am having an issue with autoload.php path from other files after some changes with the new wp directory. Is there I nice clean solution to make sure a file loads autoload.php wp-config.php. Where the root directory for NGINX is lower then the top level.

Example app1.domain.com - Root Directory is Folder1 Top Level -> Folder1 -> Folder2 -> File (includes autoload.php and wp-config.php)

app2.domain.com - Root Directory is wp Top Level - wp Top Level -> Vendor - autoload.php

johnpbloch commented 5 years ago

I'm not sure what's being asked here, but this doesn't seem to be related to this package specifically.