For instance when calling behat tests, it needs more information, patch coming so the path is not hardcoded.

CommentFileSizeAuthor
#1 2106759-zen_theme_path-1.patch585 bytespcambra

Comments

pcambra’s picture

Status: Active » Needs review
StatusFileSize
new585 bytes
rvilar’s picture

The patch creates an error if workinf in a subfolder architecture.

rvilar’s picture

Issue summary: View changes
Status: Needs review » Needs work
johnalbin’s picture

Status: Needs work » Postponed (maintainer needs more info)

Both the description of the bug and the reason why the patch won't work need more detail, please.

johnalbin’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

PHP includes are relative to the initial PHP file loaded, e.g. index.php. So the Zen include line is fine. It's not looking at the URL at all. base_path() is the base _URL_ and has nothing to do with file directories.