X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fgen_sql_patches.php;h=24bd20b76f0851532d4f571faa5e6a2883d9f707;hb=f89ab3d6301df13ebaf61a079d86a7f5047df915;hp=7491cd16ae41d36392a5ac6f40f7dc969aa47751;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/gen_sql_patches.php b/inc/gen_sql_patches.php index 7491cd16ae..24bd20b76f 100644 --- a/inc/gen_sql_patches.php +++ b/inc/gen_sql_patches.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -68,8 +68,9 @@ if (getMasterSalt() == '') { if (getFileHash() == '') { // Create filename from hashed random string $fileHash = sha1(generatePassword(mt_rand(128, 256))); - $FQFN = sprintf("%sinc/cache/.%s.cache", + $FQFN = sprintf("%s%s.%s.cache", getPath(), + getCachePath(), $fileHash );