X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdb%2Flib.php;h=9b243e68581c93f11205909d16281522bb28ecb0;hb=f2b603aed42bfdf7a94611d7bae71fe3a1048890;hp=9d28823ac52107f9919291adf25e43f050f5d3fb;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/inc/db/lib.php b/inc/db/lib.php index 9d28823ac5..9b243e6858 100644 --- a/inc/db/lib.php +++ b/inc/db/lib.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -43,9 +43,10 @@ if (!defined('__SECURITY')) { // Create include file name $inc = sprintf("inc/db/lib-%s.php", getConfig('_DB_TYPE')); +// Is the database library available? if (!isIncludeReadable($inc)) { // Bye, bye... - reportBug(__FILE__, __LINE__, 'Cannot load database abstraction layer ' . getConfig('_DB_TYPE') . ' -> R.I.P.'); + reportBug(__FILE__, __LINE__, 'Cannot load database library ' . getConfig('_DB_TYPE') . ' -> R.I.P.'); } // END - if // Include abstraction layer