]> git.mxchange.org Git - mailer.git/blobdiff - inc/code-functions.php
Possible fix for missing ext_notes while displaying extension tasks, TODOs.txt updated
[mailer.git] / inc / code-functions.php
index 33f25e124928b73dd96850d412c291389be84796..fd952f382a43f68347a85f3f2c03e2d7506f755a 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Funktionen zum Umgang mit Status-Funktionen      *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
@@ -38,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);
 }
 
@@ -53,9 +53,9 @@ function getCode ($key) {
        if (!isCodeSet($key)) {
                // Abort here
                trigger_error(sprintf("%s[%s:] Code %s is not set.",
-                       __FUNCTION__,
-                       __LINE__,
-                       $key
+               __FUNCTION__,
+               __LINE__,
+               $key
                ));
        } // END - if