XOOPS  2.6.0
browse.php File Reference

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
 

Variable Documentation

if (empty($mimetype)) $expires = 60*60*24*15

Definition at line 97 of file browse.php.

Referenced by Xoops\Core\Session\Handler\write().

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)
if ($mtime===false) if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) $path_parts = pathinfo($file)

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().