fix PHP Fatal error under PHP 5.3: Cannot access self:: when no class scope is active

This commit is contained in:
Ralf Becker 2014-09-25 06:21:41 +00:00
parent 44ae13a32e
commit cea5f6dccb

View File

@ -938,7 +938,7 @@ abstract class egw_framework
{ {
$versions = array(); $versions = array();
$security = null; $security = null;
if (($remote = file_get_contents(egw_framework::CURRENT_VERSION_URL, false, self::proxy_context()))) if (($remote = file_get_contents(egw_framework::CURRENT_VERSION_URL, false, egw_framework::proxy_context())))
{ {
list($current, $security) = explode("\n", $remote); list($current, $security) = explode("\n", $remote);
if (empty($security)) $security = $current; if (empty($security)) $security = $current;