Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Functions

  • canPHPurlfopen
  • checkPHPiniget
  • checkPHPSQLSafeMode
  • checkPHPUploadMaxFilesize
  • getAsBytes
  • getDisabledFunctions
  • getOpenBasedir
  • getPHPDisplayErrorSetting
  • getPHPFileUploadSetting
  • getPHPGPCOrder
  • getPHPIniSetting
  • getPHPMagicQuotesGPC
  • getPHPMagicQuotesRuntime
  • getPHPMagicQuotesSybase
  • getPHPMaxExecutionTime
  • getPHPMaxPostSize
  • getPHPOpenBasedirSetting
  • getSafeModeGidStatus
  • getSafeModeIncludeDir
  • getSafeModeStatus
  • isPHPCompatible
  • isPHPExtensionLoaded
  • isRegisterLongArraysActive
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains various helper functions to read specific values needed for setup checks.
 4:  *
 5:  * @package    Setup
 6:  * @subpackage Helper_PHP
 7:  * @author     Unknown
 8:  * @copyright  four for business AG <www.4fb.de>
 9:  * @license    http://www.contenido.org/license/LIZENZ.txt
10:  * @link       http://www.4fb.de
11:  * @link       http://www.contenido.org
12:  */
13: 
14: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
15: 
16: function getSafeModeStatus ()
17: {
18:     if (getPHPIniSetting("safe_mode") == "1")
19:     {
20:         return true;
21:     } else {
22:         return false;
23:     }
24: }
25: 
26: function getSafeModeGidStatus ()
27: {
28:     if (getPHPIniSetting("safe_mode_gid") == "1")
29:     {
30:         return true;
31:     } else {
32:         return false;
33:     }
34: }
35: 
36: function getSafeModeIncludeDir ()
37: {
38:     return getPHPIniSetting("safe_mode_include_dir");
39: }
40: 
41: function getOpenBasedir ()
42: {
43:     return getPHPIniSetting("open_basedir");
44: }
45: 
46: function getDisabledFunctions ()
47: {
48:     return getPHPIniSetting("disable_functions");
49: }
50: ?>
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0