tbrehm
2011-06-29 967a4acef25629464f21cc4ed2267b6c62a896e7
Enable vm module for admin user.
Fixed: Unknown column 'id_rsa' in 'field list' when password is changed in tools.
3 files modified
24 ■■■■■ changed files
install/sql/ispconfig3.sql 2 ●●● patch | view | raw | blame | history
interface/lib/config.inc.php 2 ●●● patch | view | raw | blame | history
interface/web/tools/form/user_settings.tform.php 20 ●●●●● patch | view | raw | blame | history
install/sql/ispconfig3.sql
@@ -1916,7 +1916,7 @@
-- Dumping data for table `sys_user`
-- 
INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `language`, `groups`, `default_group`, `client_id`) VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'dashboard,admin,client,mail,monitor,sites,dns,tools,help', 'dashboard', 'default', 'admin', 1, 'en', '1,2', 1, 0);
INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `language`, `groups`, `default_group`, `client_id`) VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'dashboard,admin,client,mail,monitor,sites,dns,vm,tools,help', 'dashboard', 'default', 'admin', 1, 'en', '1,2', 1, 0);
-- --------------------------------------------------------
interface/lib/config.inc.php
@@ -50,7 +50,7 @@
//** Database
$conf['db_type'] = 'mysql';
$conf['db_host'] = 'localhost';
$conf['db_database'] = 'dbispconfig';
$conf['db_database'] = 'ispconfig3';
$conf['db_user'] = 'root';
$conf['db_password'] = '';
$conf['db_charset'] = 'utf8'; // same charset as html-charset - (HTML --> MYSQL: "utf-8" --> "utf8", "iso-8859-1" --> "latin1")
interface/web/tools/form/user_settings.tform.php
@@ -133,26 +133,6 @@
            'maxlength'    => '2',
            'rows'        => '',
            'cols'        => ''
        ),
        'id_rsa' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
            'default'    => '',
            'datasource'    => array (     'type'    => 'SQL',
                                        'querystring' => 'SELECT id_rsa FROM client WHERE {AUTHSQL}',
                                        'valuefield'=> 'id_rsa'
                                     ),
            'value'        => ''
        ),
        'ssh_rsa' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
            'default'    => '',
            'datasource'    => array (     'type'    => 'SQL',
                                        'querystring' => 'SELECT ssh_rsa FROM client WHERE {AUTHSQL}',
                                        'valuefield'=> 'ssh_rsa'
                                     ),
            'value'        => ''
        )
    ##################################
    # ENDE Datenbankfelder