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:21 +00:00
parent 3ed259f85f
commit be369d7ac9

View File

@ -938,7 +938,7 @@ abstract class egw_framework
{
$versions = array();
$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);
if (empty($security)) $security = $current;