Skip to content

Instantly share code, notes, and snippets.

@hissy hissy/site_post.php
Created Jul 9, 2014

Embed
What would you like to do?
#concrete5 quick debug snippet
<?php
$req = Request::get();
if ($req->getRequestPath() == 'debug') {
// debug some stuff
exit;
}
function dump($v)
{
echo '<pre>';
var_dump($v);
echo '</pre>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.