Subversion Repositories oidplus

Rev

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

Rev 661 Rev 699
Line 60... Line 60...
60
 
60
 
61
                        $out['text'] .= '<pre>';
61
                        $out['text'] .= '<pre>';
62
 
62
 
63
                        try {
63
                        try {
64
                                $mine = self::getDirContents(OIDplus::localpath());
64
                                $mine = self::getDirContents(OIDplus::localpath());
65
                                $theirs = self::checksumFileToArray(sprintf(parse_ini_file(__DIR__.'/consts.ini')['checksum_file'],$ver));
65
                                $theirs = self::checksumFileToArray(sprintf(OIDplus::getEditionInfo()['checksum_file'],$ver));
66
                                if ($theirs === false) {
66
                                if ($theirs === false) {
67
                                        throw new OIDplusException(_L("Cannot download checksum file. Please try again later."));
67
                                        throw new OIDplusException(_L("Cannot download checksum file. Please try again later."));
68
                                }
68
                                }
69
 
69
 
70
                                $num = 0;
70
                                $num = 0;