XOOPS
2.6.0
|
Go to the source code of this file.
Namespaces | |
core | |
Variables | |
$dir = realpath($xoops->paths[$path_type][0]) | |
if(empty($mimetype)) | $expires = 60*60*24*15 |
$ext = (isset($path_parts['extension'])) ? $path_parts['extension'] : '' | |
if(!isset($xoops->paths[$path_type])) if($path_type== 'var') | $file = realpath($xoops->path($path)) |
$mimetype = \Xoops\Core\MimeTypes::findType($ext) | |
if($file===false||$dir===false||!strstr($file, $dir)) if(empty($file)||strpos($file, '.php')!==false) | $mtime = filemtime($file) |
if($mtime===false) if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) | $path_parts = pathinfo($file) |
if(!isset($path)) | $path_type = substr($path, 0, strpos($path, '/')) |
$xoops = Xoops::getInstance() | |
$xoopsOption ['nocommon'] = true | |
exit | |
$dir = realpath($xoops->paths[$path_type][0]) |
Definition at line 56 of file browse.php.
Referenced by XoopsFileHandler\create(), deleteDir(), XoopsFolderHandler\dirsize(), JUpload\dstfinal(), XoopsFolderHandler\findRecursiveHelper(), xoopslists\getAllAvatarsList(), Notifications\getEvents(), XoopsFolderHandler\inPath(), XoopsFolderHandler\inXoopsPath(), is_really_writable(), JUpload\mkdirp(), XoopsFolderHandler\read(), Xoops\Core\Events\setPreloads(), XoopsFolderHandler\tree(), xoops_module_install_avatars(), and xoops_module_install_debugbar().
if (empty($mimetype)) $expires = 60*60*24*15 |
Definition at line 97 of file browse.php.
Referenced by Xoops\Core\Session\Handler\write().
$ext = (isset($path_parts['extension'])) ? $path_parts['extension'] : '' |
Definition at line 87 of file browse.php.
Referenced by check_files_extensions_on_path(), check_files_extensions_on_phar(), Xoops\Core\MediaUploader\copyFile(), JUpload\dstfinal(), Xoops\Core\MediaUploader\fetchMedia(), XoopsFileHandler\safe(), and Xoops\Core\MediaUploader\sanitizeMultipleExtensions().
if (!isset($xoops->paths[$path_type])) if ($path_type== 'var') $file = realpath($xoops->path($path)) |
Definition at line 55 of file browse.php.
Referenced by SystemGroupForm\__construct(), XoopsEditorHandler\_loadEditor(), Xoops\Core\Kernel\XoopsObject\_loadFilters(), Smarty_Resource_Admin\adminTplInfo(), Smarty_Resource_Block\blockTplInfo(), XoopsEditorHandler\buildEditorList(), check_files_extensions_on_path(), check_files_extensions_on_phar(), XoopsCaptchaImageHandler\createImageBmp(), XoopsFolderHandler\delete(), Xoops_Utils\dumpFile(), XoopsLoad\fileExists(), XoopsFolderHandler\find(), XoopsTplfileHandler\find(), XoopsFolderHandler\findRecursiveHelper(), XoopsDatabaseFactory\getDatabaseConnection(), getDirList(), xoopslists\getDirListAsArray(), MaintenanceMaintenanceForm\getDump(), SystemExtension\getExtensionList(), xoopslists\getFileListAsArray(), CountryFlagProvider\getFlagUrl(), xoopslists\getHtmlListAsArray(), xoopslists\getImgListAsArray(), SystemExtension\getInstalledExtensions(), SystemModule\getInstalledModules(), Menus\getSkinInfo(), XoopsModule\loadAdminMenu(), XoopsCaptcha\loadBasicConfig(), Xmf\Loader\loadClass(), XoopsLoad\loadClass(), MyTextSanitizer\loadConfig(), XoopsLoad\loadConfig(), XoopsLoad\loadCore(), MyTextSanitizer\loadExtension(), Xmf\Loader\loadFile(), XoopsLoad\loadFile(), Xoops\Core\Kernel\XoopsObject\loadFilters(), XoopsLoad\loadFramework(), XoopsCaptcha\loadHandler(), XoopsModule\loadInfo(), XoopsInstallWizard\loadLangFile(), System\loadLanguage(), Xoops\loadLanguage(), Xoops\Core\Psr4ClassLoader\loadMappedFile(), XoopsLoad\loadModule(), Xcaptcha\loadPluginHandler(), menus_block_show(), mod_clearFile(), mod_clearSmartyCache(), Smarty_Resource_Module\moduleTplInfo(), Xoops\Core\Database\Connection\queryFromFile(), XoopsMySQLDatabase\queryFromFile(), rcopy(), Xoops\Core\Assets\readAssetsPrefs(), Xcaptcha\readConfig(), XoopsCaptcha\readConfig(), Xoops\Core\Service\Manager\readYamlProviderPrefs(), Xoops\Module\Admin\renderAbout(), Xoops\Core\Psr4ClassLoader\requireFile(), rrename(), rrename_after_cleaner(), Xoops\Core\Events\setPreloads(), system_loadLanguage(), Xoops\templateTouch(), tar\toTar(), tar\toTarOutput(), Xcaptcha\writeConfig(), XoopsCaptcha\writeConfig(), and xoops_module_install_avatars().
$mimetype = \Xoops\Core\MimeTypes::findType($ext) |
Definition at line 88 of file browse.php.
if ($file===false||$dir===false||!strstr($file, $dir)) if (empty($file)||strpos($file, '.php')!==false) $mtime = filemtime($file) |
Definition at line 71 of file browse.php.
Referenced by Smarty_Resource_Block\fetch(), Smarty_Resource_Module\fetch(), Smarty_Resource_Admin\fetch(), Smarty_Resource_Db\fetch(), and Xoops\Core\Assets\readAssetsPrefs().
Definition at line 86 of file browse.php.
Referenced by Xoops\Core\MediaUploader\fetchMedia().
if (!isset($path)) $path_type = substr($path, 0, strpos($path, '/')) |
Definition at line 43 of file browse.php.
$xoops = Xoops::getInstance() |
Definition at line 29 of file browse.php.
$xoopsOption['nocommon'] = true |
Definition at line 22 of file browse.php.
Referenced by XoopsInstallWizard\checkAccess().
exit |
Definition at line 104 of file browse.php.
Referenced by Snoopy\_connect(), JUpload\abort(), Xoops\Core\Security\checkBadips(), XoopsCaptchaImageHandler\createImageBmp(), debugger(), Comments\displayDelete(), SystemPreload\eventCoreIncludeFunctionsRedirectheader(), Snoopy\fetch(), Xoops\footer(), Xoops\Core\Logger\handleError(), Xoops\header(), JUpload\receive_debug_log(), JUpload\receive_uploaded_files(), Xmf\Module\Helper\GenericHelper\redirect(), Xoops\redirect(), Xmf\Loader\securityCheck(), XoopsLoad\securityCheck(), Snoopy\submit(), and JUpload\warning().