// Some security stuff...
if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
} elseif (!EXT_IS_ACTIVE('other')) {
// Missing extension!
define('_CFG_ORDER_MULTI_Y', ' chkecked="checked"');
}
- if (getConfig('autosend_active') != "Y") {
+ if (getConfig('autosend_active') != 'Y') {
define('_CFG_AUTOSEND_ACTIVE_N', ' chkecked="checked"');
define('_CFG_AUTOSEND_ACTIVE_Y', '');
} else {
define('_CFG_AUTOSEND_ACTIVE_Y', ' chkecked="checked"');
}
- if (getConfig('send_prof_update') != "Y") {
+ if (getConfig('send_prof_update') != 'Y') {
define('_CFG_SEND_UPDATE_N', ' chkecked="checked"');
define('_CFG_SEND_UPDATE_Y', '');
} else {
define('_CFG_SEND_UPDATE_Y', ' chkecked="checked"');
}
- if (getConfig('admin_notify') != "Y") {
+ if (getConfig('admin_notify') != 'Y') {
define('_CFG_ADMIN_NOTIFY_N', ' chkecked="checked"');
define('_CFG_ADMIN_NOTIFY_Y', '');
} else {