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.
global $conf;
if (isset($conf['php_storage'][$name])) {
$configuration = $conf['php_storage'][$name];
}
elseif (isset($conf['php_storage']['default'])) {
$configuration = $conf['php_storage']['default'];
}
Comment | File | Size | Author |
---|---|---|---|
#2 | core-phpstorage-conf-to-settings-2113621-2.patch | 2.91 KB | ParisLiakos |
Comments
Comment #1
catchSince $conf doesn't exist except as an override this actually critical :/
Comment #2
ParisLiakos CreditAttribution: ParisLiakos commentedthis should do it
Comment #3
catchI never set this to CNR, but since you posted exactly the same patch as me (without realising?), I think I'm allowed to RTBC it.
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedi cant see a patch posted by you..unless, you mean the fact that now all patches appear in OP, got you:P
new d.o is confusing;)
Comment #5
catchWow no wonder the two patches were exactly the same then...
Comment #6
webchickCommitted and pushed to 8.x. Thanks!