diff -r 112debff64bd -r 5f1cd51bf1be plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Sat Dec 15 18:10:14 2007 -0500 +++ b/plugins/SpecialAdmin.php Tue Dec 18 23:44:55 2007 -0500 @@ -2165,6 +2165,10 @@ return; } + if ( ENANO_DBLAYER != 'MYSQL' ) + die('
This function is only supported under the MySQL database driver.
'); + if(isset($_GET['submitting']) && $_GET['submitting'] == 'yes' && defined('ENANO_DEMO_MODE') ) { redirect(makeUrlComplete('Special', 'Administration'), 'Access denied', 'You\'ve got to be kidding me. Forget it, kid.', 4 ); @@ -2176,13 +2180,11 @@ if(defined('SQL_BACKUP_CRYPT')) // Try to increase our time limit - @set_time_limit(300); // five minutes + @set_time_limit(0); // Do the actual export $aesext = ( defined('SQL_BACKUP_CRYPT') ) ? '.tea' : ''; $filename = 'enano_backup_' . date('ymd') . '.sql' . $aesext; ob_start(); - header('Content-disposition: attachment, filename="'.$filename.'";'); - header('Content-type: application/transact-sql'); // Spew some headers $headdate = date('F d, Y \a\t h:i a'); echo <<Additional tables to export: