import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
17
fckeditor/editor/filemanager/connectors/php/phpcompat.php
Normal file
17
fckeditor/editor/filemanager/connectors/php/phpcompat.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
if ( !isset( $_SERVER ) ) {
|
||||
$_SERVER = $HTTP_SERVER_VARS ;
|
||||
}
|
||||
if ( !isset( $_GET ) ) {
|
||||
$_GET = $HTTP_GET_VARS ;
|
||||
}
|
||||
if ( !isset( $_FILES ) ) {
|
||||
$_FILES = $HTTP_POST_FILES ;
|
||||
}
|
||||
|
||||
if ( !defined( 'DIRECTORY_SEPARATOR' ) ) {
|
||||
define( 'DIRECTORY_SEPARATOR',
|
||||
strtoupper(substr(PHP_OS, 0, 3) == 'WIN') ? '\\' : '/'
|
||||
) ;
|
||||
}
|
Reference in New Issue
Block a user