Subversion Repositories oidplus

Rev

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

Rev 755 Rev 756
Line 25... Line 25...
25
 
25
 
26
ob_start(); // allow cookie headers to be sent
26
ob_start(); // allow cookie headers to be sent
27
 
27
 
28
OIDplus::init(true);
28
OIDplus::init(true);
29
 
29
 
30
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_OIDplusPageAdminOIDInfoExport', false)) {
30
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_OIDplusPageAdminNostalgia', false)) {
31
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
31
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
32
}
32
}
33
 
33
 
-
 
34
if (!OIDplus::authUtils()->isAdminLoggedIn()) {
-
 
35
        throw new OIDplusException(_L('You need to <a %1>log in</a> as administrator.',OIDplus::gui()->link('oidplus:login$admin')));
-
 
36
}
-
 
37
 
34
if (!class_exists('ZipArchive')) {
38
if (!class_exists('ZipArchive')) {
35
        throw new OIDplusException(_L('The PHP extension "ZipArchive" needs to be installed to create a ZIP archive with an included database. Otherwise, you can just download the plain program without data.'));
39
        throw new OIDplusException(_L('The PHP extension "ZipArchive" needs to be installed to create a ZIP archive with an included database. Otherwise, you can just download the plain program without data.'));
36
}
40
}
37
 
41
 
38
$dos_ids = array();
42
$dos_ids = array();