summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/php/php.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2013-08-14 09:54:28 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2013-08-14 09:54:28 -0700
commit3cf100dfcd11b2d3c0250364d1d5dd1ed7875423 (patch)
treecdf357e070da9d65cdc4f98a1475cc4c7c00e730 /core/modules/php/php.module
parent858674f0d1c4205a181686f82202eb03aa01835d (diff)
downloaddrupal-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.module2
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);