mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
fix PHP Fatal error under PHP 5.3: Cannot access self:: when no class scope is active
This commit is contained in:
parent
44ae13a32e
commit
cea5f6dccb
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user