Subversion Repositories oidplus

Rev

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

Rev 661 Rev 699
Line 124... Line 124...
124
 
124
 
125
# ---
125
# ---
126
 
126
 
127
function getLatestRevision() {
127
function getLatestRevision() {
128
        try {
128
        try {
129
                $url = "https://www.oidplus.com/updates/releases.ser"; // TODO: in consts.ini
129
                $url = OIDplus::getEditionInfo()['revisionlog'];
-
 
130
                OIDplus::getEditionInfo()
130
                $cont = @file_get_contents($url);
131
                $cont = @file_get_contents($url);
131
                if ($cont === false) return false;
132
                if ($cont === false) return false;
132
                $ary = @unserialize($cont);
133
                $ary = @unserialize($cont);
133
                if ($ary === false) return false;
134
                if ($ary === false) return false;
134
                krsort($ary);
135
                krsort($ary);