Vergleich admin/modules/tools/backupdb.php - 1.4.4 - 1.4.8

  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 4224 2008-10-05 11:17:04Z Tikitiki $

 * $Id: backupdb.php 4337 2009-03-30 01:21:51Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 141Zeile 141
		
if($mybb->input['method'] == 'disk')
{

		
if($mybb->input['method'] == 'disk')
{

			$file = MYBB_ADMIN_DIR.'backups/backup_'.substr(md5($mybb->user['uid'].TIME_NOW.random_str()), 0, 10);

			$file = MYBB_ADMIN_DIR.'backups/backup_'.substr(md5($mybb->user['uid'].TIME_NOW), 0, 10).random_str(54);

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

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

Zeile 160Zeile 160
		}
else
{

		}
else
{

			$file = 'backup_'.substr(md5($mybb->user['uid'].TIME_NOW.random_str()), 0, 10);

			$file = 'backup_'.substr(md5($mybb->user['uid'].TIME_NOW), 0, 10).random_str(54);

			if($mybb->input['filetype'] == 'gzip')
{
if(!function_exists('gzopen')) // check zlib-ness

			if($mybb->input['filetype'] == 'gzip')
{
if(!function_exists('gzopen')) // check zlib-ness