Permalink
Browse files

Update usage submit server address

Remove "MySQL" from version value
  • Loading branch information...
1 parent a41127f commit f5e06da993fb2b0982168348583bb7851f4218b5 @haraldpdl haraldpdl committed Sep 1, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 catalog/admin/includes/functions/general.php
  2. +3 −3 catalog/admin/server_info.php
@@ -823,7 +823,7 @@ function tep_get_system_information() {
'uptime' => @exec('uptime'),
'http_server' => $HTTP_SERVER_VARS['SERVER_SOFTWARE']);
- $data['mysql'] = array('version' => 'MySQL ' . (function_exists('mysql_get_server_info') ? mysql_get_server_info() : ''),
+ $data['mysql'] = array('version' => (function_exists('mysql_get_server_info') ? mysql_get_server_info() : ''),
'date' => $db['datetime']);
$data['php'] = array('version' => PHP_VERSION,
@@ -20,8 +20,8 @@
break;
case 'submit':
- $target_host = 'www.oscommerce.com';
- $target_path = '/usage_info.php';
+ $target_host = 'usage.oscommerce.com';
+ $target_path = '/submit.php';
$encoded = base64_encode(serialize(tep_get_system_information()));
@@ -157,7 +157,7 @@
<td class="smallText"><b><?php echo TITLE_SERVER_OS; ?></b></td>
<td class="smallText"><?php echo $info['system']['os'] . ' ' . $info['system']['kernel']; ?></td>
<td class="smallText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><?php echo TITLE_DATABASE; ?></b></td>
- <td class="smallText"><?php echo $info['mysql']['version']; ?></td>
+ <td class="smallText"><?php echo 'MySQL ' . $info['mysql']['version']; ?></td>
</tr>
<tr>
<td class="smallText"><b><?php echo TITLE_SERVER_DATE; ?></b></td>

0 comments on commit f5e06da

Please sign in to comment.