ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Go to the source code of this file.
Namespaces | |
SimpleSAMLphp | |
Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes. | |
Variables | |
$indexFiles = array('index.php', 'index.html', 'index.htm', 'index.txt') | |
$mimeTypes | |
if(empty($_SERVER['PATH_INFO'])) | $url = $_SERVER['PATH_INFO'] |
$modEnd = strpos($url, '/', 1) | |
if($modEnd===false) | $module = substr($url, 1, $modEnd - 1) |
if($url===false) if(!SimpleSAML\Module::isModuleEnabled($module)) if(strpos($url, '\\') !==false) elseif(strpos($url, './') !==false) | $moduleDir = SimpleSAML\Module::getModuleDir($module).'/www/' |
for($phpPos=strpos($url, '.php/'); $phpPos !==false; $phpPos=strpos($url, '.php/', $phpPos+1)) | $path = $moduleDir.$url |
if($path[strlen($path) - 1]==='/') if(is_dir($path)) if(!file_exists($path)) if(preg_match('#\.php$#D', $path)) | $contentType = null |
if(preg_match('#\.( | $contentLength [^/\.]+)$#D', $path, $type)) if($contentType===null) = sprintf('%u', filesize($path)) |
if (preg_match('#\.( $contentLength[^/\.]+)$#D', $path, $type)) if ( $contentType===null) = sprintf('%u', filesize($path)) |
Definition at line 163 of file module.php.
Referenced by Slim\App\respond().
if ( $path[strlen( $path) - 1]==='/') if (is_dir( $path)) if (!file_exists( $path)) if (preg_match('#\.php$#D', $path)) $contentType = null |
Definition at line 142 of file module.php.
Referenced by Slim\Handlers\NotFound\__invoke(), Slim\Handlers\NotAllowed\__invoke(), Slim\Handlers\PhpError\__invoke(), Slim\Handlers\Error\__invoke(), PHPMailer\getBoundary(), SAML2\Binding\getCurrentBinding(), Slim\Http\Request\getMediaType(), Slim\Http\Request\getMediaTypeParams(), PHPExcel_Reader_Excel2007\load(), and CAS_ProxiedService_Http_Post\setContentType().
$indexFiles = array('index.php', 'index.html', 'index.htm', 'index.txt') |
Definition at line 15 of file module.php.
$mimeTypes |
Definition at line 18 of file module.php.
$modEnd = strpos($url, '/', 1) |
Definition at line 53 of file module.php.
if ( $modEnd===false) $module = substr($url, 1, $modEnd - 1) |
Definition at line 59 of file module.php.
Referenced by MDB2_Driver_Common\__call(), HTMLPurifier_ContentSets\__construct(), ilLanguage\__destruct(), ilLinkChecker\__txt(), ilObjLanguageExt\_deleteValues(), ilObjLanguageExt\_saveValues(), HTMLPurifier_HTMLDefinition\addAttribute(), HTMLPurifier_HTMLDefinition\addBlankElement(), HTMLPurifier_HTMLDefinition\addElement(), HTMLPurifier_HTMLModuleManager\addModule(), SimpleSAML\Locale\Localization\addModuleDomain(), SimpleSAML\Module\autoloadPSR0(), SimpleSAML\Module\autoloadPSR4(), ilInitialisation\buildHTTPPath(), ilSoapFunctions\buildHTTPPath(), ilCtrl\callBaseClass(), ilNotificationDatabaseHandler\disableListeners(), HTMLPurifier_AttrCollections\doConstruct(), ilNotificationSystem\enableListeners(), ilNotificationDatabaseHandler\enableListeners(), ilNotificationSystem\enableUserListeners(), HTMLPurifier_ContentSets\generateChildDef(), HTMLPurifier_ContentSets\getChildDef(), SimpleSAML\Locale\Translate\getDictionary(), HTMLPurifier_HTMLModuleManager\getElement(), HTMLPurifier_HTMLModuleManager\getElements(), ilHelpMapping\getHelpSectionsForId(), SimpleSAML\Module\getModuleDir(), ilTrQuery\getSCOsStatusForUser(), ilNotificationDatabaseHandler\getUsersByListener(), ilHelpMapping\hasScreenIdSections(), ilObjLanguage\insert(), ilLanguage\insertLanguage(), getid3_handler\isDependencyFor(), SimpleSAML\Module\isModuleEnabled(), SimpleSAML\Module\isModuleEnabledWithConf(), ilDBPostgreSQL\loadModule(), ilDBMySQL\loadModule(), ilDBPdo\loadModule(), MDB2_Driver_Common\loadModule(), ilDBUpdate\loadXMLInfo(), Twig_TokenParser_Embed\parse(), HTMLPurifier_HTMLModuleManager\processModule(), HTMLPurifier_HTMLDefinition\processModules(), HTMLPurifier_HTMLModuleManager\registerModule(), ilSetupGUI\reloadControlStructure(), ilTextAreaInputGUI\setRTESupport(), HTMLPurifier_HTMLModuleManager\setup(), ilObjLanguageExtGUI\statisticsObject(), and ilUserCronCheckAccounts\txt().
if ( $url===false) if (!SimpleSAML\Module::isModuleEnabled( $module)) if (strpos( $url, '\\') !==false) elseif (strpos( $url, './') !==false) $moduleDir = SimpleSAML\Module::getModuleDir($module).'/www/' |
Definition at line 79 of file module.php.
Referenced by SimpleSAML\Module\getModuleDir(), and SimpleSAML\Module\isModuleEnabledWithConf().
for ( $phpPos=strpos( $url, '.php/');$phpPos !==false;$phpPos=strpos( $url, '.php/', $phpPos+1)) $path = $moduleDir.$url |
Definition at line 97 of file module.php.
$url = $_SERVER['PATH_INFO'] |
Definition at line 45 of file module.php.