Back to index

moin  1.9.0~rc2
phpcompat.php
Go to the documentation of this file.
00001 <?php
00002 
00003 if ( !isset( $_SERVER ) ) {
00004     $_SERVER = $HTTP_SERVER_VARS ;
00005 }
00006 if ( !isset( $_GET ) ) {
00007     $_GET = $HTTP_GET_VARS ;
00008 }
00009 if ( !isset( $_FILES ) ) {
00010     $_FILES = $HTTP_POST_FILES ;
00011 }
00012 
00013 if ( !defined( 'DIRECTORY_SEPARATOR' ) ) {
00014     define( 'DIRECTORY_SEPARATOR',
00015         strtoupper(substr(PHP_OS, 0, 3) == 'WIN') ? '\\' : '/'
00016     ) ;
00017 }