HOR-844
HOR-844
This commit is contained in:
@@ -526,13 +526,13 @@ class G
|
||||
$oHeadPublisher->clearScripts();
|
||||
$oHeadPublisher->leimnudInitString = $leimnudInitString;
|
||||
$oHeadPublisher->addScriptFile( '/js/maborak/core/maborak.js' );
|
||||
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'login/showMessage', null, array ('MESSAGE' => $e->getMessage()
|
||||
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'login/showMessage', null, array ('MESSAGE' => self::getErrorMessage($e)
|
||||
) );
|
||||
if (class_exists( 'SkinEngine' )) {
|
||||
$skinEngine = new SkinEngine( 'publish', 'blank', '' );
|
||||
$skinEngine->dispatch();
|
||||
} else {
|
||||
die( $e->getMessage() );
|
||||
die( self::getErrorMessage($e) );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5657,6 +5657,18 @@ class G
|
||||
{
|
||||
return crc32($string);
|
||||
}
|
||||
|
||||
/**
|
||||
* this function get the Message
|
||||
* @access public
|
||||
* @param string $e
|
||||
* @return string
|
||||
*
|
||||
*/
|
||||
public static function getErrorMessage($e)
|
||||
{
|
||||
return $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user