]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Wrong array used
[mailer.git] / inc / libs / other_functions.php
index 98d1858473556a13005a71347d42ab3f8aa9a50d..d80080f1cd58cae28a74e85a1ee08bf011b5e46d 100644 (file)
@@ -50,14 +50,30 @@ function displayDebugSqls () {
                $content['timing']   = translateComma($content['timing'] * 1000);
 
                // Load row template
-               $OUT .= loadTemplate('admin_other_sqls_row', true, $content);
+               $OUT .= loadTemplate('admin_other_sqls_row', TRUE, $content);
 
                // Count one up
                $i++;
        } // END - foreach
 
        // Load main template
-       $GLOBALS['__page_footer'] .= loadTemplate('admin_other_sqls', true, $OUT);
+       $GLOBALS['__page_footer'] .= loadTemplate('admin_other_sqls', TRUE, $OUT);
+}
+
+//-----------------------------------------------------------------------------
+//                Wrapper functions for configuration entries
+//-----------------------------------------------------------------------------
+
+// Getter for 'reject_url' config entry
+function getRejectUrl () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('reject_url');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
 }
 
 // [EOF]