Closed (fixed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
PHP code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2013 at 20:19 UTC
Updated:
20 Dec 2017 at 22:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
grasmash commentedAttaching patch
Comment #2
johnalbinComment #3
johnalbindrupal_get_path('theme', 'zen') doesn't work? huh?
Comment #4
johnalbinComment #5
nigelcunningham commentedI can reproduce this by seeking to run Behat from Phing, which sets the working directory to not be equal to DRUPAL_ROOT. The fix is to use DRUPAL_ROOT, per the patch I'm attaching.
Regards,
Nigel
Comment #6
nigelcunningham commentedComment #7
nigelcunningham commentedComment #8
steinmb commentedComment #9
johnalbinComment #13
johnalbinThank you!
Comment #14
nigelcunningham commentedYou're welcome; thanks for merging the patch!