]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
New functions introduced, several rewrites:
[mailer.git] / inc / wrapper-functions.php
index d3369e758f78a10f6dcbbbf750394c2aa1e88e34..1e36678f6f863f53110d5a1863b03301c988b8fa 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
@@ -750,6 +755,7 @@ function isUserDataValid () {
 
 // Setter for current userid
 function setCurrentUserId ($userid) {
+       logDebugMessage(__FUNCTION__, __LINE__, 'userid='.$userid);
        $GLOBALS['current_userid'] = bigintval($userid);
 }