[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] CVS: squirrelmail/include errors.php,NONE,1.1
From: Marc Groot Koerkamp <stekkel () users ! sourceforge ! net>
Date: 2005-07-28 21:03:02
Message-ID: E1DyFWw-00006m-UJ () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/squirrelmail/squirrelmail/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv338/include
Added Files:
errors.php
Log Message:
Introduce error handling
--- NEW FILE ---
<?php
/**
* errors.php
*
* Copyright (c) 2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* @version $Id: errors.php,v 1.1 2005/07/28 21:03:00 stekkel Exp $
* @package squirrelmail
*/
$aError = array();
define('SQM_ERROR_IMAP',1);
define('SQM_ERROR_FS',2);
define('SQM_ERROR_SMTP',4);
define('SQM_ERROR_LDAP',8);
define('SQM_ERROR_DB',16);
define('SQM_ERROR_PLUGIN',32);
// define('SQM_ERROR_X',64); future error category
$aErrors['SQM_IMAP_NO_THREAD'] = array(
'level' => E_USER_ERROR,
'category' => SQM_ERROR_IMAP,
'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" .
_("Please contact your system administrator and report this \
error."), 'link' => '',
'tip' => _("Run \"configure\", choose option 4 (General options) and set \
option 10 (Allow server thread sort to false") );
$aErrors['SQM_IMAP_NO_SORT'] = array(
'level' => E_USER_ERROR,
'category' => SQM_ERROR_IMAP,
'message' => _( "Server-side sorting is not supported by your IMAP server.") . \
"\n" .
_("Please contact your system administrator and report this \
error."), 'link' => '',
'tip' => _("Run \"configure\", choose option 4 (General options) and set \
option 11 (Allow server-side sorting to false") );
//$aError['SQM_FS'] // Filesystem related errors
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic