Subversion Repositories oidplus

Rev

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

Rev 511 Rev 532
Line 21... Line 21...
21
 
21
 
22
header('Content-Type:text/html; charset=UTF-8');
22
header('Content-Type:text/html; charset=UTF-8');
23
 
23
 
24
OIDplus::init(true);
24
OIDplus::init(true);
25
 
25
 
-
 
26
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_OIDplusPageAdminOIDInfoExport', false)) {
-
 
27
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
-
 
28
}
-
 
29
 
26
# ---
30
# ---
27
 
31
 
28
if (!OIDplus::authUtils()::isAdminLoggedIn()) {
32
if (!OIDplus::authUtils()::isAdminLoggedIn()) {
29
        if (PHP_SAPI == 'cli') {
33
        if (PHP_SAPI == 'cli') {
30
                #echo "You need to log in as administrator.\n";
34
                #echo "You need to log in as administrator.\n";