/trunk/includes/classes/OIDplusGui.class.php |
---|
111,7 → 111,7 |
if (is_dir(__DIR__ . '/../../setup')) { |
$msg .= ' '._L('or run <a href="%1">setup</a> again',OIDplus::webpath(null,OIDplus::PATH_RELATIVE).'setup/'); |
} |
echo '<p>'.htmlentities($msg).'</p>'; |
echo '<p>'.$msg.'</p>'; // No htmlentities, because we already did it above |
echo self::getExceptionTechInfo($exception); |
echo '</body></html>'; |
} else { |
/trunk/systeminfo.php |
---|
23,8 → 23,18 |
header('Content-Type:application/json; charset=UTF-8'); |
try { |
OIDplus::init(false); |
} catch (Exception $e) { |
OIDplus::invoke_shutdown(); |
$out = array( |
"error" => $e->getMessage() |
); |
echo json_encode($out); |
die(); |
} |
# --- |
$out = array(); |