]> git.mxchange.org Git - mailer.git/blobdiff - inc/db/lib.php
Internal TODO closed (sry for second commit)
[mailer.git] / inc / db / lib.php
index 645721deacf8e89ed840af587d29ee61939ca7e1..31e2194b31b6c55825986d1df58d4cd3e624730f 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : SQL-Typ auswaehlen                               *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -33,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
@@ -43,7 +48,7 @@ if (!defined('_DB_TYPE')) define('_DB_TYPE', "mysql3");
 // Create include file name
 $INC = sprintf("inc/db/lib-%s.php", constant('_DB_TYPE'));
 
-if (FILE_READABLE($INC)) {
+if (INCLUDE_READABLE($INC)) {
        // Include abstraction layer
        LOAD_INC_ONCE($INC);
 } else {