X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-yoomedia.php;h=99724405e3e64d7ac5b523ed16c78a39e1899ec2;hp=4004f16d9386edb7853b0b2005c7141bbcc7348b;hb=dfaa8c1675da4071ea451406a6f6fedd4c568416;hpb=933943c6ab989d7c622b9a3d42392943da5a4e4b diff --git a/inc/extensions/ext-yoomedia.php b/inc/extensions/ext-yoomedia.php index 4004f16d93..99724405e3 100644 --- a/inc/extensions/ext-yoomedia.php +++ b/inc/extensions/ext-yoomedia.php @@ -13,7 +13,7 @@ * -------------------------------------------------------------------- * * * * -------------------------------------------------------------------- * - * Copyright (c) 2003, 2004, 2005, 2006, 2007 by Roland Haeder * + * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -33,8 +33,7 @@ ************************************************************************/ // Some security stuff... -if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF']))) -{ +if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } @@ -80,16 +79,11 @@ case "update": // Update an extension break; default: // Do stuff when extension is loaded - $dummy = LOAD_CONFIG(); - unset($dummy); break; } // Language file prefix $EXT_LANG_PREFIX = "yoomedia"; -// Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; - // ?>