Skip to content

Commit

Permalink
Remove debug code, add comments to backup
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGrubb committed May 30, 2020
1 parent d629160 commit 21bc391
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/FilerDB/Core/Utilities/Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ public function __construct ($config = null) {
$this->config = $config;
}

/**
* Makes use of PhpZip to create a zipped backup file
* of the database path.
* @param string $output
* @return boolean|exception
*/
public function create ($output = './backup.zip') {
$zipFile = new ZipFile();

var_dump($this->config->DATABASE_PATH);
var_dump($output);

try {

$zipFile
Expand Down

0 comments on commit 21bc391

Please sign in to comment.