This commit is contained in:
redmatrix 2015-10-29 15:11:41 -07:00
parent bb469deb85
commit dc4bd531a4

View File

@ -90,11 +90,15 @@ if($argc == 2) {
if($argc == 1) {
load_config('service_class');
foreach($a->config['service_class'] as $class=>$props) {
echo "$class:\n";
$d = unserialize($props);
foreach($d as $k => $v) {
echo "\t$k = $v\n";
if(is_array($a->config['service_class']) && $a->config['service_class']) {
foreach($a->config['service_class'] as $class=>$props) {
echo "$class:\n";
$d = unserialize($props);
if(is_array($d) && $d) {
foreach($d as $k => $v) {
echo "\t$k = $v\n";
}
}
}
}
}