diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2013-08-14 09:54:28 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2013-08-14 09:54:28 -0700 |
commit | 3cf100dfcd11b2d3c0250364d1d5dd1ed7875423 (patch) | |
tree | cdf357e070da9d65cdc4f98a1475cc4c7c00e730 /core/modules/php/php.module | |
parent | 858674f0d1c4205a181686f82202eb03aa01835d (diff) | |
download | drupal-3cf100dfcd11b2d3c0250364d1d5dd1ed7875423.tar.gz drupal-3cf100dfcd11b2d3c0250364d1d5dd1ed7875423.zip |
Issue #1957142 by damiankloip, fubhy, cosmicdreams: Replace config() with Drupal::config().
Diffstat (limited to 'core/modules/php/php.module')
-rw-r--r-- | core/modules/php/php.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/php/php.module b/core/modules/php/php.module index 02fd1dd6522..9baffe7832a 100644 --- a/core/modules/php/php.module +++ b/core/modules/php/php.module @@ -70,7 +70,7 @@ function php_eval($code) { // so code evaluated will not see the caller module as the current theme. // If theme info is not initialized get the path from default theme. if (!isset($theme_info)) { - $theme_path = drupal_get_path('theme', config('system.theme')->get('default')); + $theme_path = drupal_get_path('theme', Drupal::config('system.theme')->get('default')); } else { $theme_path = dirname($theme_info->filename); |