source: sandbox/filemanager/tp/fckeditor/editor/filemanager/connectors/php/phpcompat.php @ 1575

Revision 1575, 359 bytes checked in by amuller, 14 years ago (diff)

Ticket #597 - Implentação, melhorias do modulo gerenciador de arquivos

  • Property svn:executable set to *
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.