Sponsorenverwaltung - Team StarCraft e.V.
 All Data Structures Files Functions Variables
backup.php File Reference

Provides the ability to create a MySQL-dump and to store it into an ZIP-file togehter with the contents of the data subdirectory. More...

Go to the source code of this file.

Functions

 addFilesToZip (&$zip, $dir, $archivBase, $depth=0)
 

Detailed Description

Provides the ability to create a MySQL-dump and to store it into an ZIP-file togehter with the contents of the data subdirectory.

This script provides the ability to create and to store a MySQL-dump and/or the contents of the data subdirectory into a downloadable .zip-file.

This file has a hardcoded restriction to be accessible for the root user only.

This file depends on inc/common.php and inc/templates/backup.tpl

Version
1.0.0
Author
Daniel Seichter
Alexander Vorndran
Date
02.07.2013

Definition in file backup.php.

Function Documentation

addFilesToZip ( $zip,
  $dir,
  $archivBase,
  $depth = 0 
)

Adds files to a zip archive (recursive)

Parameters
mixed&$zipzip archive object
string$dirdirectory to add
string$archivBasearchive base path for adding
integer$depthrecursion depth
Author
Daniel Seichter

Definition at line 35 of file backup.php.