X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-support.php;h=c36e6bd0a5d5c4b1fbbb241329bead237f762b7f;hp=43c3936e126e092533ef110f5b32b28fe37ce777;hb=08b3c51b70b6498fd92a2760979d64470ad1b586;hpb=1b4494c45790f1ba6808bb6a037d777147bd8f23
diff --git a/inc/extensions/ext-support.php b/inc/extensions/ext-support.php
index 43c3936e12..c36e6bd0a5 100644
--- a/inc/extensions/ext-support.php
+++ b/inc/extensions/ext-support.php
@@ -32,8 +32,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);
}
@@ -46,7 +45,7 @@ $EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.
switch ($EXT_LOAD_MODE)
{
-case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called)
+case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called)
// SQL commands to run
$SQLs[] = "";
break;
@@ -91,7 +90,7 @@ case "update": // Update an extension
case "0.0.6": // SQL queries for v0.0.6
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt.";
+ $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt.";
break;
case "0.0.7": // SQL queries for v0.0.7
@@ -101,12 +100,12 @@ case "update": // Update an extension
case "0.0.8": // SQL queries for v0.0.8
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar.";
+ $UPDATE_NOTES = "Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar.";
break;
case "0.0.9": // SQL queries for v0.0.9
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Dateiamenskonflikt zwischen den Erweiterungen support und order behoben.";
+ $UPDATE_NOTES = "Dateiamenskonflikt zwischen den Erweiterungen support und order behoben.";
break;
case "0.1.0": // SQL queries for v0.2.1
@@ -126,14 +125,12 @@ case "update": // Update an extension
}
break;
+case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+ break;
+
default: // Do stuff when extension is loaded
break;
}
-// Language file prefix
-$EXT_LANG_PREFIX = "support";
-
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
//
?>