mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Make _debug_array() work for php3 or 4
This commit is contained in:
parent
bfa73cc185
commit
f265ea2717
@ -166,9 +166,16 @@
|
||||
}
|
||||
|
||||
function _debug_array($array)
|
||||
{
|
||||
if(floor(phpversion()) == 4)
|
||||
{
|
||||
echo '<pre>'; print_r($array); echo '</pre>';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<pre>'; var_dump($array); echo '</pre>';
|
||||
}
|
||||
}
|
||||
|
||||
function print_debug($text='')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user