* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Which is the latest version on server?
$ONLINE = array(
- 'version' => trim(str_replace("\n", '', $response[0])),
- 'changed' => trim(str_replace("\n", '', $response[1])),
- 'revision' => trim(str_replace("\n", '', $response[2])),
+ 'version' => trim(str_replace(chr(10), '', $response[0])),
+ 'changed' => trim(str_replace(chr(10), '', $response[1])),
+ 'revision' => trim(str_replace(chr(10), '', $response[2])),
'code' => '200 OK'
);
} else {