|
From: FlorinCB <ory...@us...> - 2008-09-10 12:27:00
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4603 Modified Files: db_install.php music.php Log Message: fix Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/db_install.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** db_install.php 10 Sep 2008 06:36:35 -0000 1.12 --- db_install.php 10 Sep 2008 12:26:14 -0000 1.13 *************** *** 167,171 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('comment', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('music_version', '.0.7')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_size', '10240')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_width', '800')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_height', '600')"; --- 167,171 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('comment', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('music_version', '.0.7')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_size', '256000')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_width', '800')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_height', '600')"; Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** music.php 10 Sep 2008 06:54:21 -0000 1.24 --- music.php 10 Sep 2008 12:26:16 -0000 1.25 *************** *** 693,696 **** --- 693,697 ---- $thiscat = array(); // this category $catrows = array(); // all categories for jumpbox + $auth_data = array(); //album auth while( $row = $db->sql_fetchrow($result) ) *************** *** 762,766 **** } ! if ( $auth_data['upload'] ) { $enable_soung_upload_switch = true; --- 763,767 ---- } ! if ($auth_data['upload']) { $enable_soung_upload_switch = true; |