![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
| namespace | core |
Variables | |
| defined('DS') or define('DS' | DIRECTORY_SEPARATOR |
| defined ( 'NWLINE') or define( 'NWLINE' | |
| $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 (!file_exists( $file)) $ext = substr($file, strrpos($file, '.') + 1) |
| 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 |
| defined('NWLINE') or define('NWLINE' | ( | 'NWLINE' | ) |
| defined ( 'DS') or define( 'DS' DIRECTORY_SEPARATOR |