projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A couple of smaller fixes.
[fa-stable.git]
/
includes
/
ui
/
ui_view.inc
diff --git
a/includes/ui/ui_view.inc
b/includes/ui/ui_view.inc
index 0bc4ac06d794b6ef0a5bc3d818838a691c631cb6..9306aa5d0a84ba1d1598dc9ead62afe924d4d83a 100644
(file)
--- 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)
{
{
function _vd($mixed, $title = '', $exit = false)
{
- // Only the site admin is able to proceed here.
$str = (!empty($title) ? ($title .':') : '') .'<pre>';
$str .= print_r($mixed, true); //var_dump($mixed);
$str .= "</pre>\n";
$str = (!empty($title) ? ($title .':') : '') .'<pre>';
$str .= print_r($mixed, true); //var_dump($mixed);
$str .= "</pre>\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) {
function display_backtrace($cond=true, $msg='') {
if ($cond) {