plugins/SpecialAdmin.php
changeset 218 e0ec986c0af3
parent 217 5bcdee999015
child 237 4ab30e8dd168
equal deleted inserted replaced
217:5bcdee999015 218:e0ec986c0af3
  2477       //   unset($tables[$i]);
  2477       //   unset($tables[$i]);
  2478     }
  2478     }
  2479     foreach($tables as $t)
  2479     foreach($tables as $t)
  2480     {
  2480     {
  2481       // THE FOLLOWING COMMENT DOES NOT APPLY AS OF 1.0.
  2481       // THE FOLLOWING COMMENT DOES NOT APPLY AS OF 1.0.
  2482       // Sorry folks - this script CAN'T backup enano_files, enano_search_index, and enano_search_cache due to the sheer size of the tables.
  2482       // Sorry folks - this script CAN'T backup enano_files and enano_search_index due to the sheer size of the tables.
  2483       // If encryption is enabled the log data will be excluded too.
  2483       // If encryption is enabled the log data will be excluded too.
  2484       echo export_table(
  2484       echo export_table(
  2485         $t,
  2485         $t,
  2486         isset($_POST['do_struct']),
  2486         isset($_POST['do_struct']),
  2487         ( isset($_POST['do_data']) /* && $t != table_prefix.'files' && $t != table_prefix.'search_index' && $t != table_prefix.'search_cache' && ( !defined('SQL_BACKUP_CRYPT') || ( defined('SQL_BACKUP_CRYPT') && $t != table_prefix.'logs' ) ) */ ),
  2487         ( isset($_POST['do_data']) ),
  2488         false
  2488         false
  2489         ) . "\n";
  2489         ) . "\n";
  2490     }
  2490     }
  2491     $data = ob_get_contents();
  2491     $data = ob_get_contents();
  2492     ob_end_clean();
  2492     ob_end_clean();