X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fdatabases.php;h=6c874469e65e51cbeeb6657bbe8e8a24e6d2006a;hp=ba57bc56facc512fbc3913c54e79498ebc520b7e;hb=ea2a5e6a7838127d2f9dec02ba68ec575188528b;hpb=23ceba7f531881ce3b8bc311903c8adb8c6aa706 diff --git a/inc/databases.php b/inc/databases.php index ba57bc56fa..6c874469e6 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -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 = "/"; } @@ -117,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_PATCH_LEVEL', "514"); +define('CURR_SVN_REVISION', "294"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623);