File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1010 // GLOBAL SETTINGS
1111 //
1212 var GLOBAL = { } ;
13- GLOBAL . FTP_USER_PREFIX = 'admin_ ' ;
14- GLOBAL . DB_USER_PREFIX = 'admin_ ' ;
15- GLOBAL . DB_DBNAME_PREFIX = 'admin_ ' ;
13+ GLOBAL . FTP_USER_PREFIX = '' ;
14+ GLOBAL . DB_USER_PREFIX = '' ;
15+ GLOBAL . DB_DBNAME_PREFIX = '' ;
1616 GLOBAL . AJAX_URL = '' ;
1717 </ script >
1818</ head >
Original file line number Diff line number Diff line change 240240</ div >
241241
242242< script >
243- GLOBAL . DB_USER_PREFIX = < ?php json_encode ( $user . '_' ) ? > ;
244- GLOBAL . DB_DBNAME_PREFIX = < ?php json_encode ( $user . '_' ) ? > ;
243+ GLOBAL . DB_USER_PREFIX = " <?php echo htmlentities ($user.'_');?>" ;
244+ GLOBAL . DB_DBNAME_PREFIX = " <?php echo htmlentities ($user.'_')?>" ;
245245</ script >
Original file line number Diff line number Diff line change 139139</ div >
140140< ?php if ($v_type == 'pgsql'){ $user=strtolower($user); } ?>
141141< script >
142- GLOBAL . DB_USER_PREFIX = < ?php json_encode ( $user . '_' ) ? > ;
143- GLOBAL . DB_DBNAME_PREFIX = < ?php json_encode ( $user . '_' ) ? > ;
142+ GLOBAL . DB_USER_PREFIX = " <?php echo htmlentities ($user.'_');?>" ;
143+ GLOBAL . DB_DBNAME_PREFIX = " <?php echo htmlentities ($user.'_')?>" ;
144144</ script >
Original file line number Diff line number Diff line change 680680 </ div >
681681</ div >
682682< script >
683- GLOBAL . FTP_USER_PREFIX = < ?php json_encode ( $user . '_' ) ?> ;
683+ GLOBAL . FTP_USER_PREFIX = " <?php echo htmlentities ($user.'_') ?>" ;
684684</ script >
You can’t perform that action at this time.
0 commit comments