1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?php
- if (!defined('STATUSNET') && !defined('LACONICA')) {
- exit(1);
- }
- require_once INSTALLDIR.'/lib/servererroraction.php';
- class DBErrorAction extends ServerErrorAction
- {
- function __construct($message='Error', $code=500)
- {
- parent::__construct($message, $code);
- }
- function title()
- {
-
- return _('Database error');
- }
- function getLanguage()
- {
-
- return common_config('site', 'language');
- }
- function showPrimaryNav()
- {
-
- }
- }
|