X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_view.inc;h=9306aa5d0a84ba1d1598dc9ead62afe924d4d83a;hb=7b9032da05f92d030cf5ba36e1d524d123129159;hp=0bc4ac06d794b6ef0a5bc3d818838a691c631cb6;hpb=7fd6f0b781ed41d099f352ebdc2bbc0ee46750c6;p=fa-stable.git diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index 0bc4ac06..9306aa5d 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -1290,7 +1290,6 @@ if (!function_exists('_vd')) { function _vd($mixed, $title = '', $exit = false) { - // Only the site admin is able to proceed here. $str = (!empty($title) ? ($title .':') : '') .'
';
     	$str .= print_r($mixed, true); //var_dump($mixed);
     	$str .= "
\n"; @@ -1300,6 +1299,13 @@ if (!function_exists('_vd')) } } +function _vl($mixed, $title = '', $exit = false) +{ + error_log((!empty($title) ? ($title .':') : '') . var_export($mixed, true)); + if ($exit) + exit; +} + function display_backtrace($cond=true, $msg='') { if ($cond) {