<?php
/************************************************************************
- * MXChange v0.2.1 Start: 01/16/2004 *
+ * Mailer v0.2.1-FINAL Start: 01/16/2004 *
* ================ Last change: 05/14/2004 *
* *
* -------------------------------------------------------------------- *
// Analyse header for response code
if (eregi('200 OK', $response[0])) {
// Found, kill header
- $pos = 0;
+ $pos = '0';
foreach($response as $k => $v) {
$v = trim($v);
if (empty($v)) {
loadTemplate('admin_settings_saved', false, "<div class=\"admin_failed\">{--ADMIN_CANNOT_CHECK_VERSION--} (".$ONLINE['code'].")</div>");
} elseif (($ONLINE['version'] != getConfig('FULL_VERSION')) || ($ONLINE['revision'] != getConfig('CURR_SVN_REVISION'))) {
// New full-version available (all previous released patches are included in this version!)
- $ONLINE['changed'] = generateDateTime($ONLINE['changed'], '2');
+ $ONLINE['changed'] = generateDateTime($ONLINE['changed'], 2);
// Load template
loadTemplate('admin_update_download', false, $ONLINE);