Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function php_eval($code) {
- global $theme_path, $theme_info, $conf;
- $old_theme_path = $theme_path;
- if (!isset($theme_info)) {
- $theme_path = drupal_get_path('theme', $conf['theme_default']);
- }
- else {
- $theme_path = dirname($theme_info->filename);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement