1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- $adodb_dsn = 'mysql://qbuilder:qbuilder@localhost/qbuilder';
- $parseUrl = parse_url($adodb_dsn);
- $adodb_scheme = $parseUrl['scheme'];
- $adodb_host = $parseUrl['host'];
- $adodb_user = $parseUrl['user'];
- $adodb_pass = $parseUrl['pass'];
- $adodb_db = basename($parseUrl['path']);
-
- $opts['hn'] = $adodb_host;
- $opts['un'] = $adodb_user;
- $opts['pw'] = $adodb_pass;
- $opts['db'] = $adodb_db;
- $arrOptions = array (
- 'add' => 'A',
- 'change' => 'C',
- 'delete' => 'D',
- 'filter' => 'F',
- 'copy' => 'P'
- );
- $loadDataSolution = "<b>mysql -u root<br/>\n".
- "mysql>GRANT FILE ON *.* TO ".$adodb_user."@localhost;</b><br/>\n";
- $arrFILE = array (
- 'menustring.php' => 'MAIN MENU',
- 'tableconfig2.php' => 'Import.Table Config',
- 'tablelog.php' => 'Import.Table Log',
- 'report_designer.php' => 'Report.Report Designer',
- 'report2.php' => 'Report.Report',
- 'user.php' => 'User.User',
- 'module.php' => 'User.Module',
- 'right.php' => 'User.Right',
- 'group.php' => 'User.Group',
- 'user_group.php' => 'User.User Group',
- 'user_right.php' => 'User.User Rights',
- 'group_right.php' => 'User.Group Rights',
- 'user_report.php' => 'User.User Report',
- 'language2.php' => 'Language.Language',
- 'dictionary2.php' => 'Language.Dictionary',
- 'chpass.php' => 'Change Password',
- 'qb_changelog.php' => 'Log History',
- 'online_user.php' => 'Online User',
- 'qb_setting.php' => 'Setting'
- );
- $arrMODTABLE = array (
- 'qb_config' => 'Import.Table Config',
- 'qb_log' => 'Import.Table Log',
- 'qb_report' => 'Report.Report Designer',
- 'qb_user' => 'User.User',
- 'qb_module' => 'User.Module',
- 'qb_right' => 'User.Right',
- 'qb_group' => 'User.Group',
- 'qb_user_group' => 'User.User Group',
- 'qb_user_right' => 'User.User Rights',
- 'qb_group_right' => 'User.Group Rights',
- 'qb_user_report' => 'User.User Report',
- 'qb_lang' => 'Language.Language',
- 'qb_dictionary' => 'Language.Dictionary',
- 'qb_changelog' => 'Log History',
- 'qb_sessions' => 'Online User',
- 'qb_setting' => 'Setting'
- );
- $arrFILE = array_merge($arrFILE, $arrMODTABLE);
- ?>
|