Enabled login
This commit is contained in:
@@ -1,4 +1,22 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
class SystemMessage extends lnApp_SystemMessage {}
|
||||
/**
|
||||
* PTA System Messages.
|
||||
*
|
||||
* @package PTA
|
||||
* @subpackage TSM
|
||||
* @category Helpers
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
*/
|
||||
class SystemMessage extends lnApp_SystemMessage {
|
||||
static public function TSM_Error($error,$sql) {
|
||||
SystemMessage::add(array(
|
||||
'title'=>_('Error while talking to TSM'),
|
||||
'body'=>_('Running SQL').': <b>'.$sql.'</b><br/><br/>'.implode('<br/>',$error),
|
||||
'type'=>'error',
|
||||
));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user