Last active
December 22, 2015 16:49
-
-
Save hawkeyetwolf/ac5721aa929bcd15581c to your computer and use it in GitHub Desktop.
Watchdog with Krumo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$path = '/' . drupal_get_path('module', 'devel'); | |
$js = $path . '/krumo/krumo.js'; | |
$css = $path . '/krumo/skins/orange/skin.css'; | |
$vars = array( | |
'!script' => "<script type='text/javascript' src='$js'></script>", | |
'!link' => "<link rel='stylesheet' type='text/css' href='$css'></link>", | |
); | |
watchdog('debug', kprint_r($_GET, TRUE) . '!script !link', $vars, WATCHDOG_DEBUG); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment