Subversion Repositories oidplus

Rev

Rev 699 | Rev 716 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 699 Rev 700
Line 125... Line 125...
125
# ---
125
# ---
126
 
126
 
127
function getLatestRevision() {
127
function getLatestRevision() {
128
        try {
128
        try {
129
                $url = OIDplus::getEditionInfo()['revisionlog'];
129
                $url = OIDplus::getEditionInfo()['revisionlog'];
130
                OIDplus::getEditionInfo()
-
 
131
                $cont = @file_get_contents($url);
130
                $cont = @file_get_contents($url);
132
                if ($cont === false) return false;
131
                if ($cont === false) return false;
133
                $ary = @unserialize($cont);
132
                $ary = @unserialize($cont);
134
                if ($ary === false) return false;
133
                if ($ary === false) return false;
135
                krsort($ary);
134
                krsort($ary);