Rev 1086 | Rev 1116 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1086 | Rev 1115 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | echo '<p>'.htmlentities($exception->getMessage(), ENT_SUBSTITUTE).'</p>'; |
109 | echo '<p>'.htmlentities($exception->getMessage(), ENT_SUBSTITUTE).'</p>'; |
110 | $msg = _L('Please check the file %1','<b>userdata/baseconfig/config.inc.php</b>'); |
110 | $msg = _L('Please check the file %1','<b>userdata/baseconfig/config.inc.php</b>'); |
111 | if (is_dir(__DIR__ . '/../../setup')) { |
111 | if (is_dir(__DIR__ . '/../../setup')) { |
112 | $msg .= ' '._L('or run <a href="%1">setup</a> again',OIDplus::webpath(null,OIDplus::PATH_RELATIVE).'setup/'); |
112 | $msg .= ' '._L('or run <a href="%1">setup</a> again',OIDplus::webpath(null,OIDplus::PATH_RELATIVE).'setup/'); |
113 | } |
113 | } |
114 | echo '<p>'.htmlentities($msg).'</p>'; |
114 | echo '<p>'.$msg.'</p>'; // No htmlentities, because we already did it above |
115 | echo self::getExceptionTechInfo($exception); |
115 | echo self::getExceptionTechInfo($exception); |
116 | echo '</body></html>'; |
116 | echo '</body></html>'; |
117 | } else { |
117 | } else { |
118 | echo '<!DOCTYPE HTML>'; |
118 | echo '<!DOCTYPE HTML>'; |
119 | echo '<html><head><title>'.htmlentities(_L('OIDplus error')).'</title></head><body>'; |
119 | echo '<html><head><title>'.htmlentities(_L('OIDplus error')).'</title></head><body>'; |