plugins/SpecialAdmin.php
changeset 279 8acd77a6c19d
parent 271 f088805540ae
parent 272 e0ec986c0af3
child 304 e2cb5f1432c8
equal deleted inserted replaced
278:53ba55d33abb 279:8acd77a6c19d
  2569       //   unset($tables[$i]);
  2569       //   unset($tables[$i]);
  2570     }
  2570     }
  2571     foreach($tables as $t)
  2571     foreach($tables as $t)
  2572     {
  2572     {
  2573       // THE FOLLOWING COMMENT DOES NOT APPLY AS OF 1.0.
  2573       // THE FOLLOWING COMMENT DOES NOT APPLY AS OF 1.0.
  2574       // Sorry folks - this script CAN'T backup enano_files, enano_search_index, and enano_search_cache due to the sheer size of the tables.
  2574       // Sorry folks - this script CAN'T backup enano_files and enano_search_index due to the sheer size of the tables.
  2575       // If encryption is enabled the log data will be excluded too.
  2575       // If encryption is enabled the log data will be excluded too.
  2576       echo export_table(
  2576       echo export_table(
  2577         $t,
  2577         $t,
  2578         isset($_POST['do_struct']),
  2578         isset($_POST['do_struct']),
  2579         ( 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' ) ) */ ),
  2579         ( isset($_POST['do_data']) ),
  2580         false
  2580         false
  2581         ) . "\n";
  2581         ) . "\n";
  2582     }
  2582     }
  2583     $data = ob_get_contents();
  2583     $data = ob_get_contents();
  2584     ob_end_clean();
  2584     ob_end_clean();