// 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);
}
switch (getConfig('anonymous_ip')) {
case "127.0.0.1":
- define('__CFG_ANONYMOUS_IP_LOCAL' , " selected=\"selected\"");
+ define('__CFG_ANONYMOUS_IP_LOCAL' , ' selected="selected"');
define('__CFG_ANONYMOUS_IP_ZERO' , '');
define('__CFG_ANONYMOUS_IP_RANDOM', '');
break;
case "0.0.0.0":
define('__CFG_ANONYMOUS_IP_LOCAL' , '');
- define('__CFG_ANONYMOUS_IP_ZERO' , " selected=\"selected\"");
+ define('__CFG_ANONYMOUS_IP_ZERO' , ' selected="selected"');
define('__CFG_ANONYMOUS_IP_RANDOM', '');
break;
case "RANDOM":
define('__CFG_ANONYMOUS_IP_LOCAL' , '');
define('__CFG_ANONYMOUS_IP_ZERO' , '');
- define('__CFG_ANONYMOUS_IP_RANDOM', " selected=\"selected\"");
+ define('__CFG_ANONYMOUS_IP_RANDOM', ' selected="selected"');
break;
} // END - switch