]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Editing of network type handler partialy finished
[mailer.git] / inc / wrapper-functions.php
index d3369e758f78a10f6dcbbbf750394c2aa1e88e34..cf854bf284f43b5a516a4b9ef1d0bac6179d2435 100644 (file)
@@ -257,6 +257,11 @@ function detectRequestUri () {
        return (getenv('REQUEST_URI'));
 }
 
+// "Getter" for query string
+function detectQueryString () {
+       return str_replace('&', '&', (getenv('QUERY_STRING')));
+}
+
 // Check wether we are installing
 function isInstalling () {
        // Determine wether we are installing
@@ -395,6 +400,9 @@ function flushHeaders () {
        foreach ($GLOBALS['header'] as $header) {
                header($header);
        } // END - foreach
+
+       // Mark them as flushed
+       $GLOBALS['header'] = array();
 }
 
 // Wrapper function for chmod()