Rev 211 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 211 | Rev 227 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | if (!OIDplus::authUtils()::isAdminLoggedIn()) { |
28 | if (!OIDplus::authUtils()::isAdminLoggedIn()) { |
29 | if (php_sapi_name() == 'cli') { |
29 | if (php_sapi_name() == 'cli') { |
30 | #echo "You need to log in as administrator.\n"; |
30 | #echo "You need to log in as administrator.\n"; |
31 | #die(); |
31 | #die(); |
32 | } else { |
32 | } else { |
33 | echo '<p>You need to <a href="'.OIDplus::system_url().'?goto=oidplus:login">log in</a> as administrator.</p>'; |
33 | echo '<p>You need to <a href="'.OIDplus::getSystemUrl().'?goto=oidplus:login">log in</a> as administrator.</p>'; |
34 | die(); |
34 | die(); |
35 | } |
35 | } |
36 | } |
36 | } |
37 | 37 | ||
38 | header('Content-Type:text/xml'); |
38 | header('Content-Type:text/xml'); |