예제 #1
0
 public function getOutputFileType()
 {
     $compress = Config::get('db-manager.output.compress');
     if (!isset($compress) || isset($compress) && !is_bool($compress) || isset($compress) && is_bool($compress) && $compress) {
         return ".zip";
     }
     return "." . Database::getFileExtension();
 }
예제 #2
0
 public function getOutputFileType()
 {
     $compress = $this->checkBooleanOption('compress') || $this->checkBooleanOption('individualFiles');
     if (!isset($compress) || isset($compress) && !is_bool($compress) || isset($compress) && is_bool($compress) && $compress) {
         return ".zip";
     }
     return "." . Database::getFileExtension();
 }