source: extensions/FCKEditor/editor/filemanager/connectors/php/phpcompat.php @ 3295

Last change on this file since 3295 was 3295, checked in by patdenice, 15 years ago

New extension added:
FCK Editor (2.0.a)

File size: 359 bytes
Line 
1<?php
2
3if ( !isset( $_SERVER ) ) {
4    $_SERVER = $HTTP_SERVER_VARS ;
5}
6if ( !isset( $_GET ) ) {
7    $_GET = $HTTP_GET_VARS ;
8}
9if ( !isset( $_FILES ) ) {
10    $_FILES = $HTTP_POST_FILES ;
11}
12
13if ( !defined( 'DIRECTORY_SEPARATOR' ) ) {
14    define( 'DIRECTORY_SEPARATOR',
15        strtoupper(substr(PHP_OS, 0, 3) == 'WIN') ? '\\' : '/'
16    ) ;
17}
Note: See TracBrowser for help on using the repository browser.