1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Update translate strings

Change indent tab from blank
Fix show_confirmation web_path
This commit is contained in:
momo-i 2009-05-06 23:14:16 +00:00
parent b85fa736cf
commit bd3b70008b
8 changed files with 96 additions and 96 deletions

View file

@ -39,25 +39,24 @@ switch ($_REQUEST['action']) {
ob_end_clean();
$current = parse_ini_file(Config::get('prefix') . '/config/ampache.cfg.php');
$final = generate_config($current);
$browser = new Browser();
$browser->downloadHeaders('ampache.cfg.php','text/plain',false,filesize(Config::get('prefix') . '/config/ampache.cfg.php.dist'));
echo $final;
$browser = new Browser();
$browser->downloadHeaders('ampache.cfg.php','text/plain',false,filesize(Config::get('prefix') . '/config/ampache.cfg.php.dist'));
echo $final;
exit;
break;
case 'reset_db_charset':
Dba::reset_db_charset();
show_confirmation(_('Database Charset Updated'),_('Your Database and associated tables have been updated to match your currently configured charset'),'/admin/system.php?action=show_debug');
show_confirmation(_('Database Charset Updated'),_('Your Database and associated tables have been updated to match your currently configured charset'), Config::get('web_path').'/admin/system.php?action=show_debug');
break;
case 'show_debug':
$configuration = Config::get_all();
require_once Config::get('prefix') . '/templates/show_debug.inc.php';
$configuration = Config::get_all();
require_once Config::get('prefix') . '/templates/show_debug.inc.php';
break;
default:
// Rien a faire
break;
} // end switch
show_footer();
?>