]> git.mxchange.org Git - mailer.git/blobdiff - inc/databases.php
Unlock of booked URLs in surfbar added, fix for URL-encoded links in loader module
[mailer.git] / inc / databases.php
index ba57bc56facc512fbc3913c54e79498ebc520b7e..2057f1310a87ff5ca64b9b94d7e2f29100efe658 100644 (file)
@@ -93,13 +93,10 @@ define('START_YDAY', MAKE_TIME(0, 0, 0, time() - ONE_DAY));
 define('START_TDAY', MAKE_TIME(0, 0, 0, time()));
 
 $COOKIES = substr(URL, strpos(substr(URL, 8), "/") + 8);
-if ((strpos($COOKIES, "/") == "0") && (strpos(substr(URL, 8), "/") > 0))
-{
+if ((strpos($COOKIES, "/") == "0") && (strpos(substr(URL, 8), "/") > 0)) {
        // Script was installed into a sub directory
        if (substr($COOKIES, -1) != "/") $COOKIES .= "/";
-}
- else
-{
+} else {
        // No more sub directories added to URL
        $COOKIES = "/";
 }