1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
15:
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17:
18: function getSafeModeStatus ()
19: {
20: if (getPHPIniSetting("safe_mode") == "1")
21: {
22: return true;
23: } else {
24: return false;
25: }
26: }
27:
28: function getSafeModeGidStatus ()
29: {
30: if (getPHPIniSetting("safe_mode_gid") == "1")
31: {
32: return true;
33: } else {
34: return false;
35: }
36: }
37:
38: function getSafeModeIncludeDir ()
39: {
40: return getPHPIniSetting("safe_mode_include_dir");
41: }
42:
43: function getOpenBasedir ()
44: {
45: return getPHPIniSetting("open_basedir");
46: }
47:
48: function getDisabledFunctions ()
49: {
50: return getPHPIniSetting("disable_functions");
51: }
52: ?>