|
|
@ -496,10 +496,13 @@ class rcube_install
|
|
|
|
* @param string Test name
|
|
|
|
* @param string Test name
|
|
|
|
* @param string Error message
|
|
|
|
* @param string Error message
|
|
|
|
* @param string URL for details
|
|
|
|
* @param string URL for details
|
|
|
|
|
|
|
|
* @param bool Do not count this failure
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function fail($name, $message = '', $url = '')
|
|
|
|
function fail($name, $message = '', $url = '', $optional=false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!$optional) {
|
|
|
|
$this->failures++;
|
|
|
|
$this->failures++;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
echo Q($name) . ': <span class="fail">NOT OK</span>';
|
|
|
|
echo Q($name) . ': <span class="fail">NOT OK</span>';
|
|
|
|
$this->_showhint($message, $url);
|
|
|
|
$this->_showhint($message, $url);
|
|
|
|