add objectManager::error_exit() and use it in application::display()
This commit is contained in:
committed by
Chris Morgan
parent
b6f1f22192
commit
fcd40be8a4
@@ -147,6 +147,13 @@ class ObjectManager
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
public static function error_exit($shMessage)
|
||||
{
|
||||
echo '<div align="center"><p><font color="red"><b>'.$shMessage.'</b></font></p></div';
|
||||
echo apidb_footer();
|
||||
exit;
|
||||
}
|
||||
|
||||
/* displays the list of entries */
|
||||
public function display_table($aClean)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user