Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- setup.php.old 2010-01-22 01:03:26.000000000 -0500
- +++ setup.php 2010-01-27 11:33:58.000000000 -0500
- @@ -461,7 +461,7 @@ if ('POST' == $_SERVER['REQUEST_METHOD']
- }
- } else {
- $ptc_database_created = false;
- - $ptc_hostname = $database_hostname;
- + $ptc_hostname = $_SERVER['SERVER_NAME'];
- $database_username = 'ptc';
- $database_password = '';
- $database_name = PTC_NAME;
- @@ -583,7 +583,8 @@ if (! $database_connected) { // Get the
- output_input_field('', 'hidden', 'skip_database_creation', $skip_database_creation);
- output_input_field('', 'hidden', 'skip_database_table_creation', $skip_database_table_creation);
- output_break_line();
- - output_input_field('Server Host Name:', 'text', 'ptc_hostname', $ptc_hostname);
- + output_input_field('Root Domain Name:', 'text', 'ptc_hostname',
- +$ptc_hostname);
- output_break_line();
- if ('.' == $ptc_base) {
- output_input_field('Server Base Path: ', 'text', 'ptc_base', $cur_dir);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement