Advertisement
Guest User

Untitled

a guest
May 10th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. --- setup.php.old 2010-01-22 01:03:26.000000000 -0500
  2. +++ setup.php 2010-01-27 11:33:58.000000000 -0500
  3. @@ -461,7 +461,7 @@ if ('POST' == $_SERVER['REQUEST_METHOD']
  4. }
  5. } else {
  6. $ptc_database_created = false;
  7. - $ptc_hostname = $database_hostname;
  8. + $ptc_hostname = $_SERVER['SERVER_NAME'];
  9. $database_username = 'ptc';
  10. $database_password = '';
  11. $database_name = PTC_NAME;
  12. @@ -583,7 +583,8 @@ if (! $database_connected) { // Get the
  13. output_input_field('', 'hidden', 'skip_database_creation', $skip_database_creation);
  14. output_input_field('', 'hidden', 'skip_database_table_creation', $skip_database_table_creation);
  15. output_break_line();
  16. - output_input_field('Server Host Name:', 'text', 'ptc_hostname', $ptc_hostname);
  17. + output_input_field('Root Domain Name:', 'text', 'ptc_hostname',
  18. +$ptc_hostname);
  19. output_break_line();
  20. if ('.' == $ptc_base) {
  21. output_input_field('Server Base Path: ', 'text', 'ptc_base', $cur_dir);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement