mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Make _debug_array() work for php3 or 4
This commit is contained in:
parent
bfa73cc185
commit
f265ea2717
@ -167,7 +167,14 @@
|
||||
|
||||
function _debug_array($array)
|
||||
{
|
||||
echo '<pre>'; print_r($array); echo '</pre>';
|
||||
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