* NOT to quote identifiers by setting
* this to "none"
*
- * @copyright 1999-2015 The SquirrelMail Project Team
+ * @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
/**
+ * Constructor (PHP5 style, required in some future version of PHP)
* initialize the default preferences array.
*
*/
- function dbPrefs() {
+ function __construct() {
// Try and read the default preferences file.
$default_pref = SM_PATH . 'config/default_pref';
if (@file_exists($default_pref)) {
}
}
+ /**
+ * Constructor (PHP4 style, kept for compatibility reasons)
+ * initialize the default preferences array.
+ *
+ */
+ function dbPrefs() {
+ self::__construct();
+ }
+
/**
* initialize DB connection object
*