X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fgen_sql_patches.php;h=ba56d1388191b5b8f34b04b107010b63e60faeff;hb=2f0357c7ac9da6c17d361b8e7cb0b1ad09eb85f6;hp=5cc162891c6a56c53b5d177244909077c14f81fd;hpb=508228c85fba8448d00865b1639cb8cd7a69e457;p=mailer.git
diff --git a/inc/gen_sql_patches.php b/inc/gen_sql_patches.php
index 5cc162891c..ba56d13881 100644
--- a/inc/gen_sql_patches.php
+++ b/inc/gen_sql_patches.php
@@ -10,7 +10,7 @@
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Patcht das Passwort-System nach DB-Update *
* -------------------------------------------------------------------- *
- * $Revision:: 856 $ *
+ * $Revision:: $ *
* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
@@ -38,12 +38,12 @@
// Some security stuff...
if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {
- $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);
}
// Check for version of sql_patches
-if (GET_EXT_VERSION("sql_patches") < "0.3.6") return false;
+if (GET_EXT_VERSION('sql_patches') < '0.3.6') return false;
// Check if there is no scrambling string
if (getConfig('pass_scramble') == "") {
@@ -95,7 +95,7 @@ if (getConfig('file_hash') == "") {
if (FILE_READABLE($FQFN)) {
//* DEBUG: */ unlink($FQFN);
//* DEBUG: */ $test = hexdec(get_session('u_hash')) / hexdec($secretKey);
- //* DEBUG: */ $test = generateHash(str_replace('.', "", $test));
+ //* DEBUG: */ $test = generateHash(str_replace('.', '', $test));
//* DEBUG: */ die("Secret-Key: ".$secretKey."
Cookie: ".get_session('u_hash')."
Test: ".$test);
// Write $fileHash to database