function DatabaseBackup($dbType = 'mysql', $createTarget = false, $utf = true)
 {
     $this->dbType = strtolower($dbType);
     if (!is_array(DatabaseBackup::$langString)) {
         DatabaseBackup::$langString = getLanguageStrings();
     }
     $this->downloadMode = false;
     $this->createTarget = $createTarget;
     $this->supportUTF8 = $utf;
 }
Exemplo n.º 2
0
 function DatabaseBackup($source, $target, $skipStages = array())
 {
     if (!is_array(DatabaseBackup::$langString)) {
         DatabaseBackup::$langString = getLanguageStrings();
     }
     $this->skipStages = $skipStages;
     $this->source = $source;
     $this->target = $target;
 }