XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence du fichier browse.php

Espaces de nommage

 core
 

Variables

defined('DS') or define('DS' DIRECTORY_SEPARATOR
 
defined('NWLINE') or define('NWLINE' n
 
 $xoopsOption ['nocommon'] = true
 
 $xoops = new xos_kernel_Xoops2()
 
if(!isset($path) &&!empty($_SERVER['QUERY_STRING'])) if($path_type==='var') $file = realpath($xoops->path($path))
 
 $dir = realpath($xoops->paths[$path_type][0])
 
if(!file_exists($file)) $ext = substr($file, strrpos($file, '.') + 1)
 
 $types = include $xoops->path('include/mimetypes.inc.php')
 
if(!isset($types[$ext])) $expires = 60 * 60 * 24 * 15
 
 $handle = fopen($file, 'rb')
 

Documentation des variables

◆ $dir

$dir = realpath($xoops->paths[$path_type][0])

◆ $expires

if (!isset( $types[ $ext])) $expires = 60 * 60 * 24 * 15

◆ $ext

if (!file_exists( $file)) $ext = substr($file, strrpos($file, '.') + 1)

◆ $file

if (false===strpos( $file, $dir)) if (empty( $file)||strpos( $file, '.php') !==false) $file = realpath($xoops->path($path))

◆ $handle

$handle = fopen($file, 'rb')

◆ $types

$types = include $xoops->path('include/mimetypes.inc.php')

◆ $xoops

$xoops = new xos_kernel_Xoops2()

◆ $xoopsOption

$xoopsOption[ 'nocommon'] = true

◆ DIRECTORY_SEPARATOR

defined ( 'DS') or define( 'DS' DIRECTORY_SEPARATOR

◆ n

defined ( 'NWLINE') or define( 'NWLINE' n