4images Forum & Community
4images Issues / Ausgaben => Feedback & Suggestions => Topic started by: thunderstrike on September 14, 2007, 04:28:16 AM
-
Detail: Fix extension check of SQL.
Find:
if (is_file(ROOT_PATH.DATABASE_DIR."/".$file) && $file != "." && $file != ".." && eregi("\.sql",$file)) {
replace:
if (@file_exists(ROOT_PATH.DATABASE_DIR."/".$file) && $file != "." && $file != ".." && preg_match("/\.sql/", $file)) {
-
Find (2 time):
if (eregi("\.gz", $file)) {
replace:
if (eregi("\.gz$", $file)) {
-
After applying this FIX backup.php don't working correctly - blank backup table
-
And ... PHP and 4images version ?
-
4images 1.7.4
PHP Version 4.3.10
-
If check download.php file, fix is correct for check file with eregi check function. Fix is good ...