Kaydet (Commit) c434e6d3 authored tarafından Ali GOREN's avatar Ali GOREN Kaydeden (comit) GitHub

Update run.php

üst fd830bdc
...@@ -88,19 +88,15 @@ class Backup { ...@@ -88,19 +88,15 @@ class Backup {
flush(); flush();
$ret["msgOk"] = ""; $ret["msgOk"] = "";
foreach ($tables as $c) { foreach ($tables as $c) {
//$ret["msg"] .= 'Initializing <strong>' . $c . '</strong> table fields...' . $ds;
ob_flush(); ob_flush();
flush(); flush();
$fields = $this->_getTableFields($c); $fields = $this->_getTableFields($c);
//$ret["msg"] .= 'Initializing <strong>' . $c . '</strong> table create sql...' . $ds;
ob_flush(); ob_flush();
flush(); flush();
$createtables = $this->_getCreateTables($c); $createtables = $this->_getCreateTables($c);
//$ret["msg"] .= 'Initializing <strong>' . $c . '</strong> table insert sql...' . $ds;
ob_flush(); ob_flush();
flush(); flush();
$insert = $this->_createInsertSql($c, $fields); $insert = $this->_createInsertSql($c, $fields);
//$ret["msg"] .= 'Merging sqls...' . $ds;
ob_flush(); ob_flush();
flush(); flush();
$data.=$createtables[1] . $this->ds . $this->ds . $insert . $this->ds . $this->ds ; $data.=$createtables[1] . $this->ds . $this->ds . $insert . $this->ds . $this->ds ;
...@@ -202,4 +198,4 @@ $pass = $_POST[dbpass]; ...@@ -202,4 +198,4 @@ $pass = $_POST[dbpass];
$port = $_POST[port]; $port = $_POST[port];
$back = new Backup($host,$user,$db,$pass,["*"],$port); $back = new Backup($host,$user,$db,$pass,["*"],$port);
$back->backup(); $back->backup();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment