XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
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') | |
$dir = realpath($xoops->paths[$path_type][0]) |
if (!isset( $types[ $ext])) $expires = 60 * 60 * 24 * 15 |
if (false===strpos( $file, $dir)) if (empty( $file)||strpos( $file, '.php') !==false) $file = realpath($xoops->path($path)) |
$handle = fopen($file, 'rb') |
$types = include $xoops->path('include/mimetypes.inc.php') |
$xoops = new xos_kernel_Xoops2() |
$xoopsOption[ 'nocommon'] = true |