diff --git a/src/FilerDB/Core/Utilities/Backup.php b/src/FilerDB/Core/Utilities/Backup.php index cc90c9c..41bfaa2 100644 --- a/src/FilerDB/Core/Utilities/Backup.php +++ b/src/FilerDB/Core/Utilities/Backup.php @@ -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