X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-yoomedia.php;h=a38bd27bc3a22605e7bc22b60d6973a7c837852f;hb=49f1879ae5ed8d46035bbb1ddf84c4207bfaacb0;hp=0df74774293936a86b5e7ae9fa8314f397166f9d;hpb=52690b87d4382bd4bc15905068ab99bb70b1e3c9;p=mailer.git diff --git a/inc/extensions/ext-yoomedia.php b/inc/extensions/ext-yoomedia.php index 0df7477429..a38bd27bc3 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); } @@ -53,9 +52,6 @@ switch ($EXT_LOAD_MODE) case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called) // SQL commands to run $SQLs[] = ""; - - // Load CSS file? - $EXT_CSS = 'Y'; break; case "remove": // Do stuff when removing extension @@ -83,8 +79,6 @@ case "update": // Update an extension break; default: // Do stuff when extension is loaded - $dummy = LOAD_CONFIG(); - unset($dummy); break; } @@ -92,7 +86,7 @@ default: // Do stuff when extension is loaded $EXT_LANG_PREFIX = "yoomedia"; // Extension is always active? -$EXT_ALWAYS_ACTIVE = 'N'; +$EXT_ALWAYS_ACTIVE = "N"; // ?>