Rev 559 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 559 | Rev 585 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | 35 | ||
36 | ob_start(); |
36 | ob_start(); |
37 | $error = ""; |
37 | $error = ""; |
38 | try { |
38 | try { |
39 | $svn = new phpsvnclient(parse_ini_file(__DIR__.'/consts.ini')['svn']); |
39 | $svn = new phpsvnclient(parse_ini_file(__DIR__.'/consts.ini')['svn']); |
40 | $svn->versionFile = 'oidplus_version.txt'; |
- | |
41 | 40 | ||
42 | // We are caching the changed file logs here only in the preview mode. |
41 | // We are caching the changed file logs here only in the preview mode. |
43 | // Reason: We want to avoid that the "update/" page becomes an |
42 | // Reason: We want to avoid that the "update/" page becomes an |
44 | // DoS attack vector if there hasn't been an update for a long time, |
43 | // DoS attack vector if there hasn't been an update for a long time, |
45 | // and the list is very large. |
44 | // and the list is very large. |