Vergleich admin/modules/tools/backupdb.php - 1.4.0 - 1.4.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: backupdb.php 3948 2008-06-24 18:58:41Z nickman $

 * $Id: backupdb.php 4101 2008-08-10 18:52:38Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 169Zeile 169
					admin_redirect("index.php?module=tools/backupdb&action=backup");
}


					admin_redirect("index.php?module=tools/backupdb&action=backup");
}


				// Send headers for gzip file (do ob_start too)
header('Content-Encoding: x-gzip');

				// Send headers for gzip file
header('Content-Encoding: gzip');

				header('Content-Type: application/x-gzip');
header('Content-Disposition: attachment; filename="'.$file.'.sql.gz"');
}

				header('Content-Type: application/x-gzip');
header('Content-Disposition: attachment; filename="'.$file.'.sql.gz"');
}

Zeile 252Zeile 252
			
if($mybb->input['filetype'] == 'gzip')
{

			
if($mybb->input['filetype'] == 'gzip')
{

				$ext = '.gz';

				$ext = '.sql.gz';

			}
else
{

			}
else
{