* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software. You can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
// Some security stuff...
if (!defined('__SECURITY')) {
- die();
+ exit();
} elseif ((!isExtensionActive('sponsor'))) {
- loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('sponsor'));
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}');
return;
} elseif (!isSponsor()) {
// No sponsor!
return;
} elseif ((!isWhatSet()) || (getWhat() == '')) {
// Empty what value detected!
- setWhat('welcome');
+ reportBug(__FUNCTION__, __LINE__, 'what is empty.');
}
// A valid sponsor login and we are allowed to enter this module so let's