ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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', mb_strtolower($path, 'UTF-8'))) | $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 165 of file module.php.
Referenced by Sabre\HTTP\Message\getBodyAsString(), Slim\App\respond(), Sabre\HTTP\Sapi\sendResponse(), and Sabre\DAV\PartialUpdate\SpecificationTest\testUpdateRange().
if ( $path[strlen( $path) - 1]==='/') if (is_dir( $path)) if (!file_exists( $path)) if (preg_match('#\.php$#D', mb_strtolower( $path, 'UTF-8'))) $contentType = null |
Definition at line 144 of file module.php.
Referenced by Slim\Handlers\NotFound\__invoke(), Slim\Handlers\Error\__invoke(), Slim\Handlers\NotAllowed\__invoke(), Slim\Handlers\PhpError\__invoke(), Sabre\CardDAV\Plugin\addressbookMultiGetReport(), Sabre\CardDAV\Plugin\addressbookQueryReport(), PHPMailer\PHPMailer\PHPMailer\getBoundary(), SAML2\Binding\getCurrentBinding(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), Slim\Http\Request\getMediaType(), Slim\Http\Request\getMediaTypeParams(), Sabre\DAV\CorePlugin\httpMkcol(), Sabre\DAV\PartialUpdate\Plugin\httpPatch(), Sabre\DAV\Browser\Plugin\httpPOST(), Sabre\CalDAV\Schedule\Plugin\httpPost(), Sabre\DAV\Sharing\Plugin\httpPost(), Sabre\CalDAV\SharingPlugin\httpPost(), Sabre\CardDAV\Plugin\propFindLate(), CAS_ProxiedService_Http_Post\setContentType(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\ContentTypes\writeContentTypes().
$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 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(), 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(), ilDBPdo\loadModule(), ilDBUpdate\loadXMLInfo(), Twig_TokenParser_Embed\parse(), HTMLPurifier_HTMLModuleManager\processModule(), HTMLPurifier_HTMLDefinition\processModules(), HTMLPurifier_HTMLModuleManager\registerModule(), ilSetupGUI\reloadControlStructure(), ilTextAreaInputGUI\setRTESupport(), HTMLPurifier_HTMLModuleManager\setup(), sspmodAutoloadPSR0(), sspmodAutoloadPSR4(), 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.