CoreFiles by mySites.guru
globals.php32 lines, 1,229 bytes, from Joomla_1.0.3-Stable-Full_Package.zip
Raw History
md5
94f873a99f05a623fc1480add10e4313
sha1
a3b20f4569eaab7a85dad0033c6d8d446132df4b
sha256
ae1b21ca4e73ba87961ccf87e3a7ac61a429bd3f76c4571559ce2678ead9e006
<?php
/**
* @version $Id: globals.php 202 2005-09-20 18:46:34Z stingrey $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software and parts of it may contain or be derived from the
* GNU General Public License or other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

if (!ini_get('register_globals')) {
	while (list( $key, $value ) = each( $_FILES )) $GLOBALS[$key] = $value;
	while (list( $key, $value ) = each( $_ENV )) $GLOBALS[$key] = $value;
	while (list( $key, $value ) = each( $_GET )) $GLOBALS[$key] = $value;
	while (list( $key, $value ) = each( $_POST )) $GLOBALS[$key] = $value;
	while (list( $key, $value ) = each( $_COOKIE )) $GLOBALS[$key] = $value;
	while (list( $key, $value ) = each( $_SERVER )) $GLOBALS[$key] = $value;	
	
	if (isset($_SESSION)) {
		while (list( $key, $value ) = @each( $_SESSION )) $GLOBALS[$key] = $value;
	}	
	
	foreach ($_FILES as $key => $value){
		$GLOBALS[$key] = $_FILES[$key]['tmp_name'];
		foreach ($value as $ext => $value2){
			$key2 = $key . '_' . $ext;
			$GLOBALS[$key2] = $value2;
		}
	}
}
?>

No other release has this exact content. See every version of this file.