Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
proc_open()
defaults to the current working directory of the PHP process. Usually this will be DRUPAL_ROOT
. Sometimes this might be another directory though (for my PHP 7.0.4 setup this seems to be /
). Since the paths are passed relatively to the DRUPAL_ROOT
it would be more robust to use that as $cwd
for proc_open()
.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2700471-2-set-cwd-to-DRUPAL_ROOT.patch | 814 bytes | torotil |
|
Comments
Comment #2
torotil CreditAttribution: torotil at more onion commentedHere is a patch.
Comment #3
torotil CreditAttribution: torotil at more onion commented