define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "543");
+define('CURR_SVN_REVISION', "544");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
global $_CONFIG;
// Is the sponsor extension installed?
- if (!EXT_IS_ACTIVE("sponsor")) {
- // No, abort here
- return false;
- } elseif (!IS_SPONSOR()) {
- // No sponsor, not allowed to withdraw!
- return false;
- }
+ if ($_CONFIG['wernis_withdraw_active'] == "N") {
+ if (!EXT_IS_ACTIVE("sponsor")) {
+ // No, abort here
+ return false;
+ } elseif (!IS_SPONSOR()) {
+ // No sponsor, not allowed to withdraw!
+ return false;
+ }
+ } // END - if
// Default is failed attempt
$result = false;